[dpdk-test-report] |WARNING| pw55444 [PATCH v6 06/15] net/hinic/base: add mgmt module function code

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jun 27 10:03:58 CEST 2019


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pf_to_mgmt' - possible side-effects?
#70: FILE: drivers/net/hinic/base/hinic_pmd_mgmt.c:33:
+#define SYNC_MSG_ID_INC(pf_to_mgmt)	(SYNC_MSG_ID(pf_to_mgmt) = \
+			(SYNC_MSG_ID(pf_to_mgmt) + 1) & SYNC_MSG_ID_MASK)

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pf_to_mgmt' - possible side-effects?
#75: FILE: drivers/net/hinic/base/hinic_pmd_mgmt.c:38:
+#define ASYNC_MSG_ID_INC(pf_to_mgmt)	(ASYNC_MSG_ID(pf_to_mgmt) = \
+			((ASYNC_MSG_ID(pf_to_mgmt) + 1) & ASYNC_MSG_ID_MASK) \
+			| ASYNC_MSG_FLAG)

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'eq' - possible side-effects?
#82: FILE: drivers/net/hinic/base/hinic_pmd_mgmt.c:45:
+#define GET_CURR_AEQ_ELEM(eq)		GET_AEQ_ELEM((eq), (eq)->cons_idx)

total: 0 errors, 0 warnings, 3 checks, 892 lines checked


More information about the test-report mailing list