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

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Apr 3 03:40:45 CEST 2021


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

_coding style issues_


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

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

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

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

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

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

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

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

total: 0 errors, 8 warnings, 233 lines checked


More information about the test-report mailing list