automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw22782 [PATCH v5 16/62] net/qede/base: read card personality via MFW commands
       [not found] <1490819822-27267-17-git-send-email-rasesh.mody@cavium.com>
@ 2017-03-30  0:10 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-03-30  0:10 UTC (permalink / raw)
  To: test-report; +Cc: Mody, Rasesh

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

_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-30  0:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1490819822-27267-17-git-send-email-rasesh.mody@cavium.com>
2017-03-30  0:10 ` [dpdk-test-report] |WARNING| pw22782 [PATCH v5 16/62] 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).