automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw54474 [PATCH v4 01/11] net/hinic/base: add registers for Huawei Hi1822 NIC
       [not found] <90c859a045f76c85e2d0911118a3b2d7718cd1a0.1559818024.git.xuanziyang2@huawei.com>
@ 2019-06-06 11:03 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-06-06 11:03 UTC (permalink / raw)
  To: test-report; +Cc: Ziyang Xuan

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'q_id' - possible side-effects?
#117: FILE: drivers/net/hinic/base/hinic_csr.h:83:
+#define HINIC_EQ_HI_PHYS_ADDR_REG(type, q_id, pg_num)	\
+		((u32)((type == HINIC_AEQ) ? \
+		HINIC_AEQ_HI_PHYS_ADDR_REG(q_id, pg_num) : \
+		HINIC_CEQ_HI_PHYS_ADDR_REG(q_id, pg_num)))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pg_num' - possible side-effects?
#117: FILE: drivers/net/hinic/base/hinic_csr.h:83:
+#define HINIC_EQ_HI_PHYS_ADDR_REG(type, q_id, pg_num)	\
+		((u32)((type == HINIC_AEQ) ? \
+		HINIC_AEQ_HI_PHYS_ADDR_REG(q_id, pg_num) : \
+		HINIC_CEQ_HI_PHYS_ADDR_REG(q_id, pg_num)))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'q_id' - possible side-effects?
#122: FILE: drivers/net/hinic/base/hinic_csr.h:88:
+#define HINIC_EQ_LO_PHYS_ADDR_REG(type, q_id, pg_num)	\
+		((u32)((type == HINIC_AEQ) ? \
+		HINIC_AEQ_LO_PHYS_ADDR_REG(q_id, pg_num) : \
+		HINIC_CEQ_LO_PHYS_ADDR_REG(q_id, pg_num)))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pg_num' - possible side-effects?
#122: FILE: drivers/net/hinic/base/hinic_csr.h:88:
+#define HINIC_EQ_LO_PHYS_ADDR_REG(type, q_id, pg_num)	\
+		((u32)((type == HINIC_AEQ) ? \
+		HINIC_AEQ_LO_PHYS_ADDR_REG(q_id, pg_num) : \
+		HINIC_CEQ_LO_PHYS_ADDR_REG(q_id, pg_num)))

total: 0 errors, 0 warnings, 4 checks, 164 lines checked

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

only message in thread, other threads:[~2019-06-06 11:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <90c859a045f76c85e2d0911118a3b2d7718cd1a0.1559818024.git.xuanziyang2@huawei.com>
2019-06-06 11:03 ` [dpdk-test-report] |WARNING| pw54474 [PATCH v4 01/11] net/hinic/base: add registers for Huawei Hi1822 NIC 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).