* [dpdk-test-report] |WARNING| pw29861 [PATCH 12/17] net/qede/base: check device personality for feature setting
[not found] <1507357872-26475-13-git-send-email-rasesh.mody@cavium.com>
@ 2017-10-07 6:32 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-10-07 6:32 UTC (permalink / raw)
To: test-report; +Cc: Rasesh Mody
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/29861
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'dev' - possible side-effects?
#36: FILE: drivers/net/qede/base/ecore.h:364:
+#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?
#41: FILE: drivers/net/qede/base/ecore.h:368:
+#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?
#45: FILE: drivers/net/qede/base/ecore.h:371:
+#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?
#49: FILE: drivers/net/qede/base/ecore.h:374:
+#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, 49 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-07 6:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1507357872-26475-13-git-send-email-rasesh.mody@cavium.com>
2017-10-07 6:32 ` [dpdk-test-report] |WARNING| pw29861 [PATCH 12/17] net/qede/base: check device personality for feature setting 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).