From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: Mingjin Ye <mingjinx.ye@intel.com>
Subject: |WARNING| pw147848 [PATCH] net/ice: enable link speed 200G
Date: Thu, 31 Oct 2024 02:42:28 +0100 (CET) [thread overview]
Message-ID: <20241031014228.B7DA5121E2B@dpdk.org> (raw)
In-Reply-To: <20241031011819.2020557-1-mingjinx.ye@intel.com>
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/147848
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'phy_type' - possible side-effects?
#129: FILE: drivers/net/ice/ice_ethdev.h:744:
+#define ICE_PHY_TYPE_SUPPORT_200G_HIGH(phy_type) \
+ (((phy_type) & ICE_PHY_TYPE_HIGH_200G_CR4_PAM4) || \
+ ((phy_type) & ICE_PHY_TYPE_HIGH_200G_SR4) || \
+ ((phy_type) & ICE_PHY_TYPE_HIGH_200G_FR4) || \
+ ((phy_type) & ICE_PHY_TYPE_HIGH_200G_LR4) || \
+ ((phy_type) & ICE_PHY_TYPE_HIGH_200G_DR4) || \
+ ((phy_type) & ICE_PHY_TYPE_HIGH_200G_KR4_PAM4) || \
+ ((phy_type) & ICE_PHY_TYPE_HIGH_200G_AUI4_AOC_ACC) || \
+ ((phy_type) & ICE_PHY_TYPE_HIGH_200G_AUI4) || \
+ ((phy_type) & ICE_PHY_TYPE_HIGH_200G_AUI8_AOC_ACC) || \
+ ((phy_type) & ICE_PHY_TYPE_HIGH_200G_AUI8))
total: 0 errors, 0 warnings, 1 checks, 53 lines checked
next prev parent reply other threads:[~2024-10-31 1:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20241031011819.2020557-1-mingjinx.ye@intel.com>
2024-10-31 1:15 ` |SUCCESS| " qemudev
2024-10-31 1:20 ` qemudev
2024-10-31 1:42 ` checkpatch [this message]
2024-10-31 2:47 ` 0-day Robot
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=20241031014228.B7DA5121E2B@dpdk.org \
--to=checkpatch@dpdk.org \
--cc=mingjinx.ye@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).