automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Apeksha Gupta <apeksha.gupta@nxp.com>
Subject: [dpdk-test-report] |WARNING| pw102300 [PATCH v5 2/5] net/enetfec: add UIO support
Date: Tue, 19 Oct 2021 20:43:20 +0200 (CEST)	[thread overview]
Message-ID: <20211019184320.116FE121D26@dpdk.org> (raw)
In-Reply-To: <20211019184003.23128-3-apeksha.gupta@nxp.com>

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

_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

           reply	other threads:[~2021-10-19 18:43 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20211019184003.23128-3-apeksha.gupta@nxp.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211019184320.116FE121D26@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=apeksha.gupta@nxp.com \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).