From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Qi Zhang <qi.z.zhang@intel.com>
Subject: [dpdk-test-report] |WARNING| pw63530 [PATCH 08/17] net/iavf/base: update virtual channel
Date: Tue, 3 Dec 2019 08:02:22 +0100 (CET) [thread overview]
Message-ID: <20191203070222.E2DC25B3A@dpdk.org> (raw)
In-Reply-To: <20191203070318.39620-9-qi.z.zhang@intel.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/63530
_coding style issues_
CHECK:SPACING: spaces preferred around that '/' (ctx:VxV)
#142: FILE: drivers/net/iavf/base/virtchnl.h:140:
+ { virtchnl_static_assert_##X = (n)/((sizeof(struct X) == (n)) ? 1 : 0) }
^
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'n' - possible side-effects?
#143: FILE: drivers/net/iavf/base/virtchnl.h:141:
+#define VIRTCHNL_CHECK_UNION_LEN(n, X) enum virtchnl_static_asset_enum_##X \
+ { virtchnl_static_assert_##X = (n)/((sizeof(union X) == (n)) ? 1 : 0) }
CHECK:SPACING: spaces preferred around that '/' (ctx:VxV)
#144: FILE: drivers/net/iavf/base/virtchnl.h:142:
+ { virtchnl_static_assert_##X = (n)/((sizeof(union X) == (n)) ? 1 : 0) }
^
total: 0 errors, 0 warnings, 3 checks, 537 lines checked
parent reply other threads:[~2019-12-03 7:02 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20191203070318.39620-9-qi.z.zhang@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=20191203070222.E2DC25B3A@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=qi.z.zhang@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).