All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Russell King (Oracle)" <rmk+kernel@armlinux.org.uk>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH RFC net-next 09/15] net: stmmac: rk: use rk_encode_wm16() for RMII clock
Date: Thu, 4 Dec 2025 07:39:34 +0800	[thread overview]
Message-ID: <202512040705.bipjEIV8-lkp@intel.com> (raw)
In-Reply-To: <E1vQ5FQ-0000000GNwH-37za@rmk-PC.armlinux.org.uk>

Hi Russell,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on net-next/main]

url:    https://github.com/intel-lab-lkp/linux/commits/Russell-King-Oracle/net-stmmac-rk-add-GMAC_CLK_xx-constants-simplify-RGMII-definitions/20251202-025335
base:   net-next/main
patch link:    https://lore.kernel.org/r/E1vQ5FQ-0000000GNwH-37za%40rmk-PC.armlinux.org.uk
patch subject: [PATCH RFC net-next 09/15] net: stmmac: rk: use rk_encode_wm16() for RMII clock
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20251204/202512040705.bipjEIV8-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251204/202512040705.bipjEIV8-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/202512040705.bipjEIV8-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c:498:39: error: variable has incomplete type 'const struct rk_reg_speed_data'
     498 | static const struct rk_reg_speed_data rk3308_reg_speed_data = {
         |                                       ^
   drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c:498:21: note: forward declaration of 'struct rk_reg_speed_data'
     498 | static const struct rk_reg_speed_data rk3308_reg_speed_data = {
         |                     ^
>> drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c:893:9: error: use of undeclared identifier 'RK3528_GMAC0_CLK_RMII_DIV2'
     893 |                              RK3528_GMAC0_CLK_RMII_DIV2);
         |                              ^
   2 errors generated.


vim +/RK3528_GMAC0_CLK_RMII_DIV2 +893 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c

1725f0eb37d621 David Wu 2025-03-19  884  
1725f0eb37d621 David Wu 2025-03-19  885  static void rk3528_set_to_rmii(struct rk_priv_data *bsp_priv)
1725f0eb37d621 David Wu 2025-03-19  886  {
1725f0eb37d621 David Wu 2025-03-19  887  	if (bsp_priv->id == 1)
1725f0eb37d621 David Wu 2025-03-19  888  		regmap_write(bsp_priv->grf, RK3528_VPU_GRF_GMAC_CON5,
1725f0eb37d621 David Wu 2025-03-19  889  			     RK3528_GMAC1_PHY_INTF_SEL_RMII);
1725f0eb37d621 David Wu 2025-03-19  890  	else
1725f0eb37d621 David Wu 2025-03-19  891  		regmap_write(bsp_priv->grf, RK3528_VO_GRF_GMAC_CON,
1725f0eb37d621 David Wu 2025-03-19  892  			     RK3528_GMAC0_PHY_INTF_SEL_RMII |
1725f0eb37d621 David Wu 2025-03-19 @893  			     RK3528_GMAC0_CLK_RMII_DIV2);
1725f0eb37d621 David Wu 2025-03-19  894  }
1725f0eb37d621 David Wu 2025-03-19  895  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  reply	other threads:[~2025-12-03 23:39 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-01 14:49 [PATCH RFC net-next 00/15] net: stmmac: rk: cleanups galore Russell King (Oracle)
2025-12-01 14:49 ` Russell King (Oracle)
2025-12-01 14:50 ` [PATCH RFC net-next 01/15] net: stmmac: rk: add GMAC_CLK_xx constants, simplify RGMII definitions Russell King (Oracle)
2025-12-01 14:50   ` Russell King (Oracle)
2025-12-02 20:31   ` Andrew Lunn
2025-12-02 20:31     ` Andrew Lunn
2025-12-01 14:50 ` [PATCH RFC net-next 02/15] net: stmmac: rk: convert rk3328 to use bsp_priv->id Russell King (Oracle)
2025-12-01 14:50   ` Russell King (Oracle)
2025-12-01 14:50 ` [PATCH RFC net-next 03/15] net: stmmac: rk: add SoC specific ->init() method Russell King (Oracle)
2025-12-01 14:50   ` Russell King (Oracle)
2025-12-01 14:51 ` [PATCH RFC net-next 04/15] net: stmmac: rk: convert to mask-based interface mode configuration Russell King (Oracle)
2025-12-01 14:51   ` Russell King (Oracle)
2025-12-02 20:41   ` Russell King (Oracle)
2025-12-02 20:41     ` Russell King (Oracle)
2025-12-01 14:51 ` [PATCH RFC net-next 05/15] net: stmmac: rk: move speed GRF register offset to private data Russell King (Oracle)
2025-12-01 14:51   ` Russell King (Oracle)
2025-12-01 14:51 ` [PATCH RFC net-next 06/15] net: stmmac: rk: convert rk3588 to rk_set_reg_speed() Russell King (Oracle)
2025-12-01 14:51   ` Russell King (Oracle)
2025-12-01 14:51 ` [PATCH RFC net-next 07/15] net: stmmac: rk: use rk_encode_wm16() for RGMII clocks Russell King (Oracle)
2025-12-01 14:51   ` Russell King (Oracle)
2025-12-01 14:51 ` [PATCH RFC net-next 08/15] net: stmmac: rk: use rk_encode_wm16() for RMII speed Russell King (Oracle)
2025-12-01 14:51   ` Russell King (Oracle)
2025-12-01 14:51 ` [PATCH RFC net-next 09/15] net: stmmac: rk: use rk_encode_wm16() for RMII clock Russell King (Oracle)
2025-12-01 14:51   ` Russell King (Oracle)
2025-12-03 23:39   ` kernel test robot [this message]
2025-12-04  3:46   ` kernel test robot
2025-12-01 14:51 ` [PATCH RFC net-next 10/15] net: stmmac: rk: move speed register into bsp_priv Russell King (Oracle)
2025-12-01 14:51   ` Russell King (Oracle)
2025-12-01 14:51 ` [PATCH RFC net-next 11/15] net: stmmac: rk: convert px30 Russell King (Oracle)
2025-12-01 14:51   ` Russell King (Oracle)
2025-12-01 14:51 ` [PATCH RFC net-next 12/15] net: stmmac: rk: introduce flags indicating support for RGMII/RMII Russell King (Oracle)
2025-12-01 14:51   ` Russell King (Oracle)
2025-12-01 14:51 ` [PATCH RFC net-next 13/15] net: stmmac: rk: replace empty set_to_rmii() with supports_rmii Russell King (Oracle)
2025-12-01 14:51   ` Russell King (Oracle)
2025-12-01 14:51 ` [PATCH RFC net-next 14/15] net: stmmac: rk: rk3328: gmac2phy only supports RMII Russell King (Oracle)
2025-12-01 14:51   ` Russell King (Oracle)
2025-12-01 14:51 ` [PATCH RFC net-next 15/15] net: stmmac: rk: rk3528: gmac0 " Russell King (Oracle)
2025-12-01 14:51   ` Russell King (Oracle)
2025-12-01 15:55 ` [PATCH RFC net-next 00/15] net: stmmac: rk: cleanups galore Andrew Lunn
2025-12-01 15:55   ` Andrew Lunn
2025-12-01 16:38   ` Russell King (Oracle)
2025-12-01 16:38     ` Russell King (Oracle)
2025-12-04  0:50     ` Jacob Keller
2025-12-04  0:50       ` Jacob Keller
2025-12-01 16:44 ` Russell King (Oracle)
2025-12-01 16:44   ` Russell King (Oracle)
2025-12-04  0:51   ` Jacob Keller
2025-12-04  0:51     ` Jacob Keller

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=202512040705.bipjEIV8-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.