[dpdk-test-report] |WARNING| [PATCH 31/31] net/sfc: support firmware-assisted TSOv2

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Dec 2 08:51:33 CET 2016


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

_coding style issues_


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

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EMSGSIZE)
#346: FILE: drivers/net/sfc/sfc_tso.c:135:
+		return EMSGSIZE;

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EMSGSIZE)
#354: FILE: drivers/net/sfc/sfc_tso.c:143:
+		return EMSGSIZE;

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

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


More information about the test-report mailing list