From: kernel test robot <lkp@intel.com>
To: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>,
Andrew Lunn <andrew@lunn.ch>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>,
linux-arm-kernel@lists.infradead.org,
linux-stm32@st-md-mailman.stormreply.com, netdev@vger.kernel.org,
Paolo Abeni <pabeni@redhat.com>
Subject: Re: [PATCH net-next] net: stmmac: report active PHY interface
Date: Tue, 27 Jan 2026 04:34:49 +0800 [thread overview]
Message-ID: <202601270450.IAoLETfq-lkp@intel.com> (raw)
In-Reply-To: <E1vkLXO-00000005uxQ-31ZV@rmk-PC.armlinux.org.uk>
Hi Russell,
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/Russell-King-Oracle/net-stmmac-report-active-PHY-interface/20260126-201908
base: net-next/main
patch link: https://lore.kernel.org/r/E1vkLXO-00000005uxQ-31ZV%40rmk-PC.armlinux.org.uk
patch subject: [PATCH net-next] net: stmmac: report active PHY interface
config: riscv-defconfig (https://download.01.org/0day-ci/archive/20260127/202601270450.IAoLETfq-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260127/202601270450.IAoLETfq-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/202601270450.IAoLETfq-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/stmicro/stmmac/dwmac-thead.c:41:10: warning: 'PHY_INTF_RGMII' macro redefined [-Wmacro-redefined]
41 | #define PHY_INTF_RGMII FIELD_PREP(PHY_INTF_MASK, 1)
| ^
drivers/net/ethernet/stmicro/stmmac/common.h:328:9: note: previous definition is here
328 | #define PHY_INTF_RGMII 1
| ^
1 warning generated.
vim +/PHY_INTF_RGMII +41 drivers/net/ethernet/stmicro/stmmac/dwmac-thead.c
33a1a01e3afa724 Jisheng Zhang 2024-11-03 18
33a1a01e3afa724 Jisheng Zhang 2024-11-03 19 #define GMAC_CLK_EN 0x00
33a1a01e3afa724 Jisheng Zhang 2024-11-03 20 #define GMAC_TX_CLK_EN BIT(1)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 21 #define GMAC_TX_CLK_N_EN BIT(2)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 22 #define GMAC_TX_CLK_OUT_EN BIT(3)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 23 #define GMAC_RX_CLK_EN BIT(4)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 24 #define GMAC_RX_CLK_N_EN BIT(5)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 25 #define GMAC_EPHY_REF_CLK_EN BIT(6)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 26 #define GMAC_RXCLK_DELAY_CTRL 0x04
33a1a01e3afa724 Jisheng Zhang 2024-11-03 27 #define GMAC_RXCLK_BYPASS BIT(15)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 28 #define GMAC_RXCLK_INVERT BIT(14)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 29 #define GMAC_RXCLK_DELAY GENMASK(4, 0)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 30 #define GMAC_TXCLK_DELAY_CTRL 0x08
33a1a01e3afa724 Jisheng Zhang 2024-11-03 31 #define GMAC_TXCLK_BYPASS BIT(15)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 32 #define GMAC_TXCLK_INVERT BIT(14)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 33 #define GMAC_TXCLK_DELAY GENMASK(4, 0)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 34 #define GMAC_PLLCLK_DIV 0x0c
33a1a01e3afa724 Jisheng Zhang 2024-11-03 35 #define GMAC_PLLCLK_DIV_EN BIT(31)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 36 #define GMAC_PLLCLK_DIV_NUM GENMASK(7, 0)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 37 #define GMAC_GTXCLK_SEL 0x18
33a1a01e3afa724 Jisheng Zhang 2024-11-03 38 #define GMAC_GTXCLK_SEL_PLL BIT(0)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 39 #define GMAC_INTF_CTRL 0x1c
33a1a01e3afa724 Jisheng Zhang 2024-11-03 40 #define PHY_INTF_MASK BIT(0)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 @41 #define PHY_INTF_RGMII FIELD_PREP(PHY_INTF_MASK, 1)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 42 #define PHY_INTF_MII_GMII FIELD_PREP(PHY_INTF_MASK, 0)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 43 #define GMAC_TXCLK_OEN 0x20
33a1a01e3afa724 Jisheng Zhang 2024-11-03 44 #define TXCLK_DIR_MASK BIT(0)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 45 #define TXCLK_DIR_OUTPUT FIELD_PREP(TXCLK_DIR_MASK, 0)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 46 #define TXCLK_DIR_INPUT FIELD_PREP(TXCLK_DIR_MASK, 1)
33a1a01e3afa724 Jisheng Zhang 2024-11-03 47
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2026-01-26 20:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-26 12:17 [PATCH net-next] net: stmmac: report active PHY interface Russell King (Oracle)
2026-01-26 19:09 ` kernel test robot
2026-01-26 20:34 ` kernel test robot [this message]
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=202601270450.IAoLETfq-lkp@intel.com \
--to=lkp@intel.com \
--cc=alexandre.torgue@foss.st.com \
--cc=andrew@lunn.ch \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=llvm@lists.linux.dev \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pabeni@redhat.com \
--cc=rmk+kernel@armlinux.org.uk \
/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