[dpdk-test-report] |WARNING| pw44480 [14/37] net/sfc/base: remove probes when a Tx queue is too full

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Sep 10 11:35:07 CEST 2018


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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOSPC)
#50: FILE: drivers/net/sfc/base/ef10_tx.c:546:
+		return (ENOSPC);

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#87: FILE: drivers/net/sfc/base/efx_tx.c:578:
+	return (etxop->etxo_qdesc_post(etp, ed, ndescs, completed, addedp));

WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -ENOSPC)
#99: FILE: drivers/net/sfc/base/efx_tx.c:759:
+		return (ENOSPC);

total: 1 errors, 2 warnings, 0 checks, 67 lines checked


More information about the test-report mailing list