[dpdk-test-report] |WARNING| pw24352 [PATCH v4 3/8] net/enic: flow API for NICs with advanced filters enabled

checkpatch at dpdk.org checkpatch at dpdk.org
Thu May 18 00:38:58 CEST 2017


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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#287: FILE: drivers/net/enic/enic_flow.c:250:
+			return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#326: FILE: drivers/net/enic/enic_flow.c:289:
+			return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#340: FILE: drivers/net/enic/enic_flow.c:303:
+			return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#390: FILE: drivers/net/enic/enic_flow.c:353:
+			return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#440: FILE: drivers/net/enic/enic_flow.c:403:
+			return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#490: FILE: drivers/net/enic/enic_flow.c:453:
+			return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#529: FILE: drivers/net/enic/enic_flow.c:492:
+		return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#540: FILE: drivers/net/enic/enic_flow.c:503:
+			return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#571: FILE: drivers/net/enic/enic_flow.c:534:
+		return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#608: FILE: drivers/net/enic/enic_flow.c:571:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#753: FILE: drivers/net/enic/enic_flow.c:716:
+				return EINVAL;

total: 0 errors, 11 warnings, 0 checks, 1070 lines checked


More information about the test-report mailing list