|WARNING| pw117403 [PATCH v5 1/6] eal: add thread attributes

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Oct 5 19:08:28 CEST 2022


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

_coding style issues_


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

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

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

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

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

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

total: 0 errors, 6 warnings, 209 lines checked


More information about the test-report mailing list