[dpdk-test-report] |WARNING| pw24333 [PATCH v3 2/6] net/enic: flow API for NICs with advanced filters enabled

checkpatch at dpdk.org checkpatch at dpdk.org
Wed May 17 05:04:41 CEST 2017


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

_coding style issues_


WARNING:TYPO_SPELLING: 'capabilites' may be misspelled - perhaps 'capabilities'?
#208: FILE: drivers/net/enic/enic_flow.c:179:
+/** Filtering capabilites indexed this NICs supported filter type. */

WARNING:TYPO_SPELLING: 'capabilites' may be misspelled - perhaps 'capabilities'?
#223: FILE: drivers/net/enic/enic_flow.c:194:
+/** Action capabilites indexed by NIC version information */

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

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

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

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

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

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

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

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

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

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

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

total: 0 errors, 13 warnings, 0 checks, 1092 lines checked


More information about the test-report mailing list