[dpdk-test-report] |WARNING| pw80690 [PATCH v1 4/8] net/ixgbe: define the mirror filter paser
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Oct 14 10:44:58 CEST 2020
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/80690
_coding style issues_
WARNING:TYPO_SPELLING: 'paser' may be misspelled - perhaps 'parser'?
#45:
Subject: [dpdk-dev] [PATCH v1 4/8] net/ixgbe: define the mirror filter paser
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'act' - possible side-effects?
#81: FILE: drivers/net/ixgbe/ixgbe_flow.c:52:
+#define NEXT_ITEM_OF_ACTION(act, actions, index) \
+ do { \
+ act = (actions) + (index); \
+ while (act->type == RTE_FLOW_ACTION_TYPE_VOID) { \
+ (index)++; \
+ act = (actions) + (index); \
+ } \
+ } while (0)
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'actions' - possible side-effects?
#81: FILE: drivers/net/ixgbe/ixgbe_flow.c:52:
+#define NEXT_ITEM_OF_ACTION(act, actions, index) \
+ do { \
+ act = (actions) + (index); \
+ while (act->type == RTE_FLOW_ACTION_TYPE_VOID) { \
+ (index)++; \
+ act = (actions) + (index); \
+ } \
+ } while (0)
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'index' - possible side-effects?
#81: FILE: drivers/net/ixgbe/ixgbe_flow.c:52:
+#define NEXT_ITEM_OF_ACTION(act, actions, index) \
+ do { \
+ act = (actions) + (index); \
+ while (act->type == RTE_FLOW_ACTION_TYPE_VOID) { \
+ (index)++; \
+ act = (actions) + (index); \
+ } \
+ } while (0)
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'vlan_item' - possible side-effects?
#90: FILE: drivers/net/ixgbe/ixgbe_flow.c:61:
+#define GET_VLAN_ID_FROM_TCI(vlan_item, default_vid) \
+ ((vlan_item) ? ntohs((vlan_item)->tci) & 0x0fff : (default_vid))
total: 0 errors, 1 warnings, 4 checks, 263 lines checked
More information about the test-report
mailing list