public inbox for llvm@lists.linux.dev
 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: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <E1vQ5FQ-0000000GNwH-37za@rmk-PC.armlinux.org.uk>]

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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox