From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Junfeng Guo <junfeng.guo@intel.com>
Subject: |WARNING| pw117794 [PATCH v5 2/8] net/gve/base: add OS specific implementation
Date: Mon, 10 Oct 2022 12:20:49 +0200 (CEST) [thread overview]
Message-ID: <20221010102049.74911120EFA@dpdk.org> (raw)
In-Reply-To: <20221010101757.878317-3-junfeng.guo@intel.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/117794
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'n' - possible side-effects?
#204: FILE: drivers/net/gve/base/gve_osdep.h:77:
+#define GVE_CHECK_STRUCT_LEN(n, X) enum gve_static_assert_enum_##X \
+ { gve_static_assert_##X = (n) / ((sizeof(struct X) == (n)) ? 1 : 0) }
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'n' - possible side-effects?
#206: FILE: drivers/net/gve/base/gve_osdep.h:79:
+#define GVE_CHECK_UNION_LEN(n, X) enum gve_static_asset_enum_##X \
+ { gve_static_assert_##X = (n) / ((sizeof(union X) == (n)) ? 1 : 0) }
total: 0 errors, 0 warnings, 2 checks, 191 lines checked
parent reply other threads:[~2022-10-10 10:20 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20221010101757.878317-3-junfeng.guo@intel.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=20221010102049.74911120EFA@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=junfeng.guo@intel.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).