Re: [PATCH net-next v2 08/22] net: stmmac: rk: convert rk3588 to mask-based interface mode config
From: kernel test robot <hidden>
Date: 2026-01-26 22:19:50
Also in:
linux-arm-kernel, linux-rockchip, oe-kbuild-all
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-rk-avoid-phy_power_on/20260126-234820 base: net-next/main patch link: https://lore.kernel.org/r/E1vkL2I-00000005usu-42Hy%40rmk-PC.armlinux.org.uk patch subject: [PATCH net-next v2 08/22] net: stmmac: rk: convert rk3588 to mask-based interface mode config config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20260127/202601270652.AmCxSo3f-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 15.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260127/202601270652.AmCxSo3f-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 [off-list ref] | Closes: https://lore.kernel.org/oe-kbuild-all/202601270652.AmCxSo3f-lkp@intel.com/ (local) All warnings (new ones prefixed by >>): drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c: In function 'rk_write_gmac_grf_reg':
quoted
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c:132:24: warning: variable 'regmap' set but not used [-Wunused-but-set-variable]
132 | struct regmap *regmap;
| ^~~~~~
vim +/regmap +132 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c
129
130 static int rk_write_gmac_grf_reg(struct rk_priv_data *bsp_priv, u32 val)
131 {
> 132 struct regmap *regmap;
133
134 if (bsp_priv->ops->gmac_grf_reg_in_php)
135 regmap = bsp_priv->php_grf;
136 else
137 regmap = bsp_priv->grf;
138
139 return regmap_write(bsp_priv->grf, bsp_priv->gmac_grf_reg, val);
140 }
141
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki