[dpdk-test-report] |WARNING| pw80693 [PATCH v1 7/8] net/i40e: define the mirror filter paser
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Oct 14 10:46:47 CEST 2020
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/80693
_coding style issues_
WARNING:TYPO_SPELLING: 'paser' may be misspelled - perhaps 'parser'?
#45:
Subject: [dpdk-dev] [PATCH v1 7/8] net/i40e: define the mirror filter paser
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'act' - possible side-effects?
#88: FILE: drivers/net/i40e/i40e_flow.c:1871:
+#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?
#88: FILE: drivers/net/i40e/i40e_flow.c:1871:
+#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?
#88: FILE: drivers/net/i40e/i40e_flow.c:1871:
+#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?
#97: FILE: drivers/net/i40e/i40e_flow.c:1880:
+#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, 277 lines checked
More information about the test-report
mailing list