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

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Dec 15 14:00:12 CET 2016


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

_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:65:
+	return ENOMEM;

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

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

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

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


More information about the test-report mailing list