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

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Sep 29 22:59:53 CEST 2021


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

_coding style issues_


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

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

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

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

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


More information about the test-report mailing list