[dpdk-test-report] |WARNING| pw100901 [PATCH v16 5/9] eal: implement thread priority management functions

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Oct 9 09:43:56 CEST 2021


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

_coding style issues_


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

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

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#281: FILE: lib/eal/windows/rte_thread.c:222:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#306: FILE: lib/eal/windows/rte_thread.c:247:
+		return EINVAL;

total: 0 errors, 4 warnings, 284 lines checked


More information about the test-report mailing list