[dpdk-test-report] |WARNING| pw90026 [PATCH v5 01/10] eal: add thread id and simple thread functions

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Mar 30 00:41:24 CEST 2021


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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#121: FILE: lib/librte_eal/common/rte_thread.c:41:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#141: FILE: lib/librte_eal/common/rte_thread.c:61:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#161: FILE: lib/librte_eal/common/rte_thread.c:81:
+		return EINVAL;

total: 0 errors, 3 warnings, 229 lines checked


More information about the test-report mailing list