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

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Mar 30 23:29:22 CEST 2017


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

_coding style issues_


WARNING:TYPO_SPELLING: 'funtion' may be misspelled - perhaps 'function'?
#117: FILE: drivers/net/enic/enic_flow.c:89:
+	/** copy funtion for a particular NIC */

WARNING:TYPO_SPELLING: 'capabilites' may be misspelled - perhaps 'capabilities'?
#207: 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'?
#222: 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)
#281: 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)
#320: 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)
#334: 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)
#365: FILE: drivers/net/enic/enic_flow.c:337:
+		return ENOTSUP;

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

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

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

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#499: FILE: drivers/net/enic/enic_flow.c:471:
+		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:501:
+		return ENOTSUP;

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

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

total: 0 errors, 14 warnings, 0 checks, 1056 lines checked


More information about the test-report mailing list