[dpdk-test-report] |WARNING| pw104073 [PATCH v17 01/13] eal: add basic threading functions
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Nov 10 04:03:20 CET 2021
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/104073
_coding style issues_
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#131: FILE: lib/eal/common/rte_thread.c:45:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#158: FILE: lib/eal/common/rte_thread.c:65:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#181: FILE: lib/eal/common/rte_thread.c:85:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM)
#373: FILE: lib/eal/windows/rte_thread.c:40:
+ return ENOMEM;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#397: FILE: lib/eal/windows/rte_thread.c:58:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#418: FILE: lib/eal/windows/rte_thread.c:76:
+ return EINVAL;
total: 0 errors, 6 warnings, 334 lines checked
Warning in lib/eal/windows/rte_thread.c:
Using %l format, prefer %PRI*64 if type is [u]int64_t
More information about the test-report
mailing list