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

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Aug 2 19:34:18 CEST 2021


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

_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