[dpdk-test-report] |WARNING| pw101286 [PATCH v3 06/10] net/sfc: implement control path operations in tunnel offload

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Oct 13 02:25:10 CEST 2021


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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#236: FILE: drivers/net/sfc/sfc_flow_tunnel.c:170:
+		return ENOTSUP;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOBUFS)
#257: FILE: drivers/net/sfc/sfc_flow_tunnel.c:191:
+		return ENOBUFS;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EINVAL)
#304: FILE: drivers/net/sfc/sfc_flow_tunnel.c:238:
+		return EINVAL;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOENT)
#309: FILE: drivers/net/sfc/sfc_flow_tunnel.c:243:
+		return ENOENT;

total: 0 errors, 4 warnings, 0 checks, 483 lines checked


More information about the test-report mailing list