[dpdk-test-report] |WARNING| pw50017 net/sfc: fix NULL dereference in EF10 TSO if no payload

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jan 23 14:10:48 CET 2019


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

_coding style issues_


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

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

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


More information about the test-report mailing list