|WARNING| pw112738 [PATCH v2 1/6] eal: add thread attributes
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Jun 15 01:49:27 CEST 2022
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/112738
_coding style issues_
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#111: FILE: lib/eal/common/rte_thread.c:12:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#124: FILE: lib/eal/common/rte_thread.c:25:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#127: FILE: lib/eal/common/rte_thread.c:28:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#139: FILE: lib/eal/common/rte_thread.c:40:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#142: FILE: lib/eal/common/rte_thread.c:43:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#154: FILE: lib/eal/common/rte_thread.c:55:
+ return EINVAL;
total: 0 errors, 6 warnings, 182 lines checked
More information about the test-report
mailing list