tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 3e029760e6f8ce90c122c267a039ae73b3f1f5a4 commit: 759bafb8a3226326ca357613bc90acf738f80c32 [2245/5886] net: dsa: qca8k: add support for internal phy and internal mdio config: x86_64-randconfig-a004-20210528 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=759bafb8a3226326ca357613bc90acf738f80c32 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 759bafb8a3226326ca357613bc90acf738f80c32 # save the attached .config to linux build tree make W=1 ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> Note: the linux-next/master HEAD 3e029760e6f8ce90c122c267a039ae73b3f1f5a4 builds fine. It may have been fixed somewhere. All errors (new ones prefixed by >>): drivers/net/dsa/qca8k.c: In function 'qca8k_mdio_register': >> drivers/net/dsa/qca8k.c:795:9: error: implicit declaration of function 'devm_of_mdiobus_register'; did you mean 'devm_mdiobus_register'? [-Werror=implicit-function-declaration] 795 | return devm_of_mdiobus_register(priv->dev, bus, mdio); | ^~~~~~~~~~~~~~~~~~~~~~~~ | devm_mdiobus_register cc1: some warnings being treated as errors vim +795 drivers/net/dsa/qca8k.c 771 772 static int 773 qca8k_mdio_register(struct qca8k_priv *priv, struct device_node *mdio) 774 { 775 struct dsa_switch *ds = priv->ds; 776 struct mii_bus *bus; 777 778 bus = devm_mdiobus_alloc(ds->dev); 779 780 if (!bus) 781 return -ENOMEM; 782 783 bus->priv = (void *)priv; 784 bus->name = "qca8k slave mii"; 785 bus->read = qca8k_mdio_read; 786 bus->write = qca8k_mdio_write; 787 snprintf(bus->id, MII_BUS_ID_SIZE, "qca8k-%d", 788 ds->index); 789 790 bus->parent = ds->dev; 791 bus->phy_mask = ~ds->phys_mii_mask; 792 793 ds->slave_mii_bus = bus; 794 > 795 return devm_of_mdiobus_register(priv->dev, bus, mdio); 796 } 797 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip