automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw20383 [PATCH 1/2] net/ixgbe: move ixgbe 2 mac type check macro
       [not found] <1486971303-59678-1-git-send-email-wei.zhao1@intel.com>
@ 2017-02-13  7:41 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-02-13  7:41 UTC (permalink / raw)
  To: test-report; +Cc: Wei Zhao

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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#88: FILE: drivers/net/ixgbe/ixgbe_ethdev.h:142:
+#define MAC_TYPE_FILTER_SUP_EXT(type)    do {\
+	if ((type) != ixgbe_mac_82599EB && (type) != ixgbe_mac_X540)\
+		return -ENOTSUP;\
+} while (0)

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#93: FILE: drivers/net/ixgbe/ixgbe_ethdev.h:147:
+#define MAC_TYPE_FILTER_SUP(type)    do {\
+	if ((type) != ixgbe_mac_82599EB && (type) != ixgbe_mac_X540 &&\
+		(type) != ixgbe_mac_X550 && (type) != ixgbe_mac_X550EM_x &&\
+		(type) != ixgbe_mac_X550EM_a)\
+		return -ENOTSUP;\
+} while (0)

total: 0 errors, 2 warnings, 0 checks, 42 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-13  7:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1486971303-59678-1-git-send-email-wei.zhao1@intel.com>
2017-02-13  7:41 ` [dpdk-test-report] |WARNING| pw20383 [PATCH 1/2] net/ixgbe: move ixgbe 2 mac type check macro 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).