[dpdk-test-report] |WARNING| pw20383 [PATCH 1/2] net/ixgbe: move ixgbe 2 mac type check macro
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Feb 13 08:41:09 CET 2017
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
More information about the test-report
mailing list