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

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Mar 27 00:54:30 CET 2021


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

_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