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

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Apr 3 03:40:37 CEST 2021


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

_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