From: kernel test robot <lkp@intel.com>
To: David Yang <mmyangfl@gmail.com>, netdev@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev, David Yang <mmyangfl@gmail.com>,
Andrew Lunn <andrew@lunn.ch>, Vladimir Oltean <olteanv@gmail.com>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Simon Horman <horms@kernel.org>,
Russell King <linux@armlinux.org.uk>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next v6 3/3] net: dsa: yt921x: Add support for Motorcomm YT921x
Date: Mon, 25 Aug 2025 00:40:03 +0800 [thread overview]
Message-ID: <202508250002.afAgRCmk-lkp@intel.com> (raw)
In-Reply-To: <20250824005116.2434998-4-mmyangfl@gmail.com>
Hi David,
kernel test robot noticed the following build warnings:
[auto build test WARNING on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/David-Yang/dt-bindings-net-dsa-yt921x-Add-Motorcomm-YT921x-switch-support/20250824-085750
base: net-next/main
patch link: https://lore.kernel.org/r/20250824005116.2434998-4-mmyangfl%40gmail.com
patch subject: [PATCH net-next v6 3/3] net: dsa: yt921x: Add support for Motorcomm YT921x
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20250825/202508250002.afAgRCmk-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250825/202508250002.afAgRCmk-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202508250002.afAgRCmk-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/net/dsa/yt921x.c: In function 'yt921x_port_down':
>> drivers/net/dsa/yt921x.c:2683:13: warning: variable 'mask' set but not used [-Wunused-but-set-variable]
2683 | u32 mask;
| ^~~~
vim +/mask +2683 drivers/net/dsa/yt921x.c
2680
2681 static int yt921x_port_down(struct yt921x_priv *priv, int port)
2682 {
> 2683 u32 mask;
2684 u32 ctrl;
2685 int res;
2686
2687 ctrl = YT921X_PORT_LINK | YT921X_PORT_RX_MAC_EN | YT921X_PORT_TX_MAC_EN;
2688 res = yt921x_smi_clear_bits(priv, YT921X_PORTn_CTRL(port), ctrl);
2689 if (res)
2690 return res;
2691
2692 if (yt921x_port_is_external(port)) {
2693 ctrl = YT921X_SGMII_LINK;
2694 res = yt921x_smi_clear_bits(priv, YT921X_SGMIIn(port), ctrl);
2695 if (res)
2696 return res;
2697
2698 mask = YT921X_XMII_LINK;
2699 res = yt921x_smi_clear_bits(priv, YT921X_XMIIn(port), ctrl);
2700 if (res)
2701 return res;
2702 }
2703
2704 return 0;
2705 }
2706
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-08-24 16:41 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-24 0:51 [PATCH net-next v6 0/3] " David Yang
2025-08-24 0:51 ` [PATCH net-next v6 1/3] dt-bindings: net: dsa: yt921x: Add Motorcomm YT921x switch support David Yang
2025-08-24 9:20 ` Krzysztof Kozlowski
2025-08-24 9:25 ` Yangfl
2025-08-24 17:16 ` Krzysztof Kozlowski
2025-08-25 2:39 ` Yangfl
2025-08-25 7:37 ` Krzysztof Kozlowski
2025-08-24 0:51 ` [PATCH net-next v6 2/3] net: dsa: tag_yt921x: add support for Motorcomm YT921x tags David Yang
2025-08-25 22:15 ` Vladimir Oltean
2025-08-26 1:47 ` Yangfl
2025-08-26 2:18 ` Andrew Lunn
2025-08-26 2:44 ` Yangfl
2025-08-26 14:38 ` Vladimir Oltean
2025-08-24 0:51 ` [PATCH net-next v6 3/3] net: dsa: yt921x: Add support for Motorcomm YT921x David Yang
2025-08-24 8:42 ` Russell King (Oracle)
2025-08-24 9:31 ` Yangfl
2025-08-24 15:22 ` Andrew Lunn
2025-08-24 15:26 ` Andrew Lunn
2025-08-24 15:34 ` Andrew Lunn
2025-08-24 15:51 ` Andrew Lunn
2025-08-24 16:38 ` Yangfl
2025-08-24 18:14 ` Russell King (Oracle)
2025-08-24 19:16 ` Andrew Lunn
2025-08-25 14:14 ` Yangfl
2025-08-26 19:07 ` Vladimir Oltean
2025-08-24 19:14 ` Andrew Lunn
2025-08-24 16:40 ` kernel test robot [this message]
2025-08-25 21:23 ` Vladimir Oltean
2025-08-26 5:19 ` Yangfl
2025-08-26 12:15 ` Andrew Lunn
2025-08-26 13:51 ` Vladimir Oltean
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=202508250002.afAgRCmk-lkp@intel.com \
--to=lkp@intel.com \
--cc=andrew@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=krzk@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mmyangfl@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=robh@kernel.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
all inboxes | Powered by JetHome®