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

checkpatch at dpdk.org checkpatch at dpdk.org
Mon May 23 12:47:07 CEST 2022


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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#199: 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)
#224: 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)
#268: 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)
#310: 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)
#338: FILE: lib/eal/windows/rte_thread.c:111:
+		return EINVAL;

total: 0 errors, 5 warnings, 317 lines checked


More information about the test-report mailing list