tree:
https://github.com/frank-w/BPI-R2-4.14 5.15-rtl8367dsa
head: 28f07f3c9803750f442f4d4d16508e9ba873f4ac
commit: 8ba8cffcee5e30e3adb60b08dd018f353fda4249 [61/62] net: dsa: try to add the
slave-mii bus
config: s390-allyesconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/frank-w/BPI-R2-4.14/commit/8ba8cffcee5e30e3adb60b08dd0...
git remote add frank-w-bpi-r2-4.14
https://github.com/frank-w/BPI-R2-4.14
git fetch --no-tags frank-w-bpi-r2-4.14 5.15-rtl8367dsa
git checkout 8ba8cffcee5e30e3adb60b08dd018f353fda4249
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/net/dsa/rtl8367s_mdio.c:2303:6: warning: no previous prototype for
'init_gsw' [-Wmissing-prototypes]
2303 | void init_gsw(void)
| ^~~~~~~~
> drivers/net/dsa/rtl8367s_mdio.c:2347:5: warning: no previous
prototype for 'rtl8367c_setup_mdio' [-Wmissing-prototypes]
2347 | int
rtl8367c_setup_mdio(struct rtk_gsw *gsw)
| ^~~~~~~~~~~~~~~~~~~
vim +/rtl8367c_setup_mdio +2347 drivers/net/dsa/rtl8367s_mdio.c
2346
2347 int rtl8367c_setup_mdio(struct rtk_gsw *gsw)
2348 {
2349 struct device_node *mdio_np;
2350 int ret;
2351
2352 /*mdio_np = of_get_compatible_child(smi->dev->of_node,
"realtek,smi-mdio");
2353 if (!mdio_np) {
2354 dev_err(smi->dev, "no MDIO bus node\n");
2355 return -ENODEV;
2356 }*/
2357
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org