[dpdk-test-report] |WARNING| pw101718 [PATCH 3/3] net/sfc: implement the transfer proxy port callback

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Oct 15 08:50:03 CEST 2021


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

_coding style issues_


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

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

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

total: 0 errors, 3 warnings, 0 checks, 198 lines checked


More information about the test-report mailing list