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

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Mar 23 01:22:01 CET 2021


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

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


More information about the test-report mailing list