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

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Mar 25 04:48:48 CET 2021


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

_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, 223 lines checked


More information about the test-report mailing list