* [dpdk-test-report] |WARNING| pw35240 [PATCH 47/80] net/sfc/base: add ef10 NIC board config method
[not found] <1519112078-20113-48-git-send-email-arybchenko@solarflare.com>
@ 2018-02-20 7:39 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-02-20 7:39 UTC (permalink / raw)
To: test-report; +Cc: Andrew Rybchenko
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/35240
_coding style issues_
CHECK:CAMELCASE: Avoid CamelCase: <__checkReturn>
#30: FILE: drivers/net/sfc/base/ef10_nic.c:1544:
+static __checkReturn efx_rc_t
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#37: FILE: drivers/net/sfc/base/ef10_nic.c:1551:
+ if ((rc = enop->eno_board_cfg(enp)) != 0)
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#41: FILE: drivers/net/sfc/base/ef10_nic.c:1555:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#46: FILE: drivers/net/sfc/base/ef10_nic.c:1560:
+ return (rc);
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#64: FILE: drivers/net/sfc/base/ef10_nic.c:1587:
+ if ((rc = ef10_nic_board_cfg(enp)) != 0)
total: 4 errors, 0 warnings, 1 checks, 41 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-02-20 7:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1519112078-20113-48-git-send-email-arybchenko@solarflare.com>
2018-02-20 7:39 ` [dpdk-test-report] |WARNING| pw35240 [PATCH 47/80] net/sfc/base: add ef10 NIC board config method checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).