automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Nipun Gupta <nipun.gupta@amd.com>
Subject: |WARNING| pw128267 [PATCH v8 1/4] bus/cdx: introduce AMD CDX bus
Date: Wed,  7 Jun 2023 06:26:33 +0200 (CEST)	[thread overview]
Message-ID: <20230607042633.38FE712077C@dpdk.org> (raw)
In-Reply-To: <20230607042425.30714-2-nipun.gupta@amd.com>

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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#263: FILE: drivers/bus/cdx/bus_cdx_driver.h:75:
+#define RTE_CDX_DEVICE(vend, dev)	\
+	(vend),				\
+	(dev)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#332: FILE: drivers/bus/cdx/bus_cdx_driver.h:144:
+#define RTE_PMD_REGISTER_CDX(nm, cdx_drv) \
+	RTE_INIT(cdxinitfn_ ##nm) \
+	{\
+		(cdx_drv).driver.name = RTE_STR(nm);\
+		rte_cdx_register(&cdx_drv); \
+	} \
+	RTE_PMD_EXPORT_NAME(nm, __COUNTER__)

total: 2 errors, 0 warnings, 1238 lines checked

           reply	other threads:[~2023-06-07  4:26 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20230607042425.30714-2-nipun.gupta@amd.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=20230607042633.38FE712077C@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=nipun.gupta@amd.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).