|WARNING| pw113478 [PATCH v4 1/6] eal: add thread attributes

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jun 27 18:57:03 CEST 2022


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

_coding style issues_


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

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

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

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

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

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

total: 0 errors, 6 warnings, 182 lines checked


More information about the test-report mailing list