* [dpdk-test-report] |WARNING| pw102504 [PATCH v6 2/5] net/enetfec: add UIO support
[not found] <20211021044700.12370-3-apeksha.gupta@nxp.com>
@ 2021-10-21 4:47 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-10-21 4:47 UTC (permalink / raw)
To: test-report; +Cc: Apeksha Gupta
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/102504
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'X' - possible side-effects?
#405: FILE: drivers/net/enetfec/enet_regs.h:41:
+#define ENETFEC_RD_START(X) (((X) == 1) ? ENETFEC_RD_START_1 : \
+ (((X) == 2) ? \
+ ENETFEC_RD_START_2 : ENETFEC_RD_START_0))
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'X' - possible side-effects?
#408: FILE: drivers/net/enetfec/enet_regs.h:44:
+#define ENETFEC_TD_START(X) (((X) == 1) ? ENETFEC_TD_START_1 : \
+ (((X) == 2) ? \
+ ENETFEC_TD_START_2 : ENETFEC_TD_START_0))
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'X' - possible side-effects?
#411: FILE: drivers/net/enetfec/enet_regs.h:47:
+#define ENETFEC_MRB_SIZE(X) (((X) == 1) ? ENETFEC_MRB_SIZE_1 : \
+ (((X) == 2) ? \
+ ENETFEC_MRB_SIZE_2 : ENETFEC_MRB_SIZE_0))
total: 0 errors, 0 warnings, 3 checks, 719 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-21 4:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20211021044700.12370-3-apeksha.gupta@nxp.com>
2021-10-21 4:47 ` [dpdk-test-report] |WARNING| pw102504 [PATCH v6 2/5] net/enetfec: add UIO support 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).