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

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 5 01:57:03 CEST 2021


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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOTSUP)
#243: 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)
#264: 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)
#311: 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)
#316: FILE: drivers/net/sfc/sfc_flow_tunnel.c:243:
+		return ENOENT;

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


More information about the test-report mailing list