|WARNING| pw104143 [PATCH v18 5/8] eal: implement thread priority management functions
checkpatch at dpdk.org
checkpatch at dpdk.org
Thu Nov 11 02:36:38 CET 2021
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/104143
_coding style issues_
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#134: FILE: lib/eal/common/rte_thread.c:80:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#159: FILE: lib/eal/common/rte_thread.c:105:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#198: FILE: lib/eal/common/rte_thread.c:144:
+ return ENOTSUP;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#298: FILE: lib/eal/windows/rte_thread.c:222:
+ return EINVAL;
WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#323: FILE: lib/eal/windows/rte_thread.c:247:
+ return EINVAL;
total: 0 errors, 5 warnings, 290 lines checked
More information about the test-report
mailing list