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

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Aug 27 09:03:07 CEST 2021


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

_coding style issues_


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

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

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOENT)
#311: 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)
#314: 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