* [dpdk-test-report] |WARNING| pw21965 [PATCH v2 16/61] net/qede/base: read card personality via MFW commands
[not found] <1489820786-14226-17-git-send-email-rasesh.mody@cavium.com>
@ 2017-03-19 10:10 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-03-19 10:10 UTC (permalink / raw)
To: test-report; +Cc: Mody, Rasesh
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/21965
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev' - possible side-effects?
#44: FILE: drivers/net/qede/base/ecore.h:332:
+#define ECORE_IS_RDMA_PERSONALITY(dev) \
+ ((dev)->hw_info.personality == ECORE_PCI_ETH_ROCE || \
+ (dev)->hw_info.personality == ECORE_PCI_ETH_IWARP || \
+ (dev)->hw_info.personality == ECORE_PCI_ETH_RDMA)
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev' - possible side-effects?
#48: FILE: drivers/net/qede/base/ecore.h:336:
+#define ECORE_IS_ROCE_PERSONALITY(dev) \
+ ((dev)->hw_info.personality == ECORE_PCI_ETH_ROCE || \
+ (dev)->hw_info.personality == ECORE_PCI_ETH_RDMA)
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev' - possible side-effects?
#51: FILE: drivers/net/qede/base/ecore.h:339:
+#define ECORE_IS_IWARP_PERSONALITY(dev) \
+ ((dev)->hw_info.personality == ECORE_PCI_ETH_IWARP || \
+ (dev)->hw_info.personality == ECORE_PCI_ETH_RDMA)
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev' - possible side-effects?
#54: FILE: drivers/net/qede/base/ecore.h:342:
+#define ECORE_IS_L2_PERSONALITY(dev) \
+ ((dev)->hw_info.personality == ECORE_PCI_ETH || \
+ ECORE_IS_RDMA_PERSONALITY(dev))
total: 0 errors, 0 warnings, 4 checks, 156 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-19 10:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1489820786-14226-17-git-send-email-rasesh.mody@cavium.com>
2017-03-19 10:10 ` [dpdk-test-report] |WARNING| pw21965 [PATCH v2 16/61] net/qede/base: read card personality via MFW commands 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).