[dpdk-test-report] |WARNING| pw93925 [PATCH v9 02/10] eal: add thread attributes

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Jun 5 01:45:46 CEST 2021


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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#115: FILE: lib/eal/common/rte_thread.c:54:
+		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:66:
+		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:80:
+		return EINVAL;

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

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

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

total: 0 errors, 6 warnings, 243 lines checked


More information about the test-report mailing list