[dpdk-test-report] |WARNING| pw81501 [PATCH 42/62] net/sfc: add HW switch ID helpers

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 20 11:10:59 CEST 2020


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

_coding style issues_


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

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOMEM)
#126: FILE: drivers/net/sfc/sfc.c:1280:
+		return ENOMEM;

total: 0 errors, 2 warnings, 0 checks, 61 lines checked


More information about the test-report mailing list