|WARNING| pw113271 [PATCH v3 1/6] eal: add thread attributes

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jun 22 22:27:47 CEST 2022


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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#111: 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)
#124: 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)
#127: 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)
#139: 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)
#142: 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)
#154: 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