[dpdk-test-report] |WARNING| pw96481 [PATCH v11 01/10] eal: add basic threading functions

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Jul 31 00:32:29 CEST 2021


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/96481

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#132: 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)
#159: 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)
#182: FILE: lib/eal/common/rte_thread.c:85:
+		return EINVAL;

total: 0 errors, 3 warnings, 239 lines checked


More information about the test-report mailing list