From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Jiawen Wu <jiawenwu@trustnetic.com>
Subject: [dpdk-test-report] |WARNING| pw94330 [PATCH v6 05/19] net/ngbe: set MAC type and LAN ID with device initialization
Date: Thu, 17 Jun 2021 13:00:37 +0200 (CEST) [thread overview]
Message-ID: <20210617110037.D0DA2122E3A@dpdk.org> (raw)
In-Reply-To: <20210617110005.4132926-6-jiawenwu@trustnetic.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/94330
_coding style issues_
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#129: FILE: drivers/net/ngbe/base/ngbe_dummy.h:10:
+#define TUP(x) x##_unused ngbe_unused
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#404: FILE: drivers/net/ngbe/base/ngbe_osdep.h:30:
+#define ASSERT(x) do { \
+ if (!(x)) \
+ PMD_DRV_LOG(ERR, "NGBE: %d", x); \
+} while (0)
total: 1 errors, 0 warnings, 1 checks, 616 lines checked
parent reply other threads:[~2021-06-17 11:00 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20210617110005.4132926-6-jiawenwu@trustnetic.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=20210617110037.D0DA2122E3A@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=jiawenwu@trustnetic.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).