[dpdk-test-report] |WARNING| pw101075 [PATCH v2 35/38] net/sfc: support new representor parameter syntax

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Oct 11 16:54:13 CEST 2021


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

_coding style issues_


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

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

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

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

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


More information about the test-report mailing list