|WARNING| pw111626 [PATCH v2 1/2] eal: get/set thread priority per thread identifier

checkpatch at dpdk.org checkpatch at dpdk.org
Mon May 23 15:07:39 CEST 2022


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

_coding style issues_


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

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

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#270: FILE: lib/eal/unix/rte_thread.c:121:
+		return ENOTSUP;

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

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

total: 0 errors, 5 warnings, 327 lines checked


More information about the test-report mailing list