* [dpdk-test-report] |WARNING| pw44480 [14/37] net/sfc/base: remove probes when a Tx queue is too full
[not found] <1536572016-18134-15-git-send-email-arybchenko@solarflare.com>
@ 2018-09-10 9:35 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-09-10 9:35 UTC (permalink / raw)
To: test-report; +Cc: Andrew Rybchenko
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
^ permalink raw reply [flat|nested] only message in thread