[dpdk-test-report] |WARNING| pw22980 [PATCH v2 5/7] net/enic: flow API for Legacy NICs

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Mar 31 04:07:05 CEST 2017


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

_coding style issues_


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

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

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

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

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

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

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

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

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

total: 0 errors, 9 warnings, 0 checks, 236 lines checked


More information about the test-report mailing list