Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH net-next v1 5/5] net: mdiobus: Hide acpi_mdio.h
       [not found] <20260504074610.40799-6-andriy.shevchenko@linux.intel.com>
@ 2026-05-10 12:41 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-10 12:41 UTC (permalink / raw)
  To: Andy Shevchenko, linux-kernel, netdev
  Cc: llvm, oe-kbuild-all, Andrew Lunn, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Heiner Kallweit, Russell King

Hi Andy,

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/Andy-Shevchenko/net-mdiobus-Provide-fwnode_mdiobus_register/20260510-124038
base:   net-next/main
patch link:    https://lore.kernel.org/r/20260504074610.40799-6-andriy.shevchenko%40linux.intel.com
patch subject: [PATCH net-next v1 5/5] net: mdiobus: Hide acpi_mdio.h
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260510/202605101457.OWzRvBTB-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/20260510/202605101457.OWzRvBTB-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/202605101457.OWzRvBTB-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/net/mdio/fwnode_mdio.c:197:10: error: call to undeclared function '__of_mdiobus_register'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     197 |                 return __of_mdiobus_register(mdio, to_of_node(fwnode), owner);
         |                        ^
   drivers/net/mdio/fwnode_mdio.c:197:10: note: did you mean 'of_mdiobus_register'?
   include/linux/of_mdio.h:81:19: note: 'of_mdiobus_register' declared here
      81 | static inline int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np)
         |                   ^
   1 error generated.


vim +/__of_mdiobus_register +197 drivers/net/mdio/fwnode_mdio.c

   192	
   193	int __fwnode_mdiobus_register(struct mii_bus *mdio, struct fwnode_handle *fwnode,
   194				      struct module *owner)
   195	{
   196		if (is_of_node(fwnode))
 > 197			return __of_mdiobus_register(mdio, to_of_node(fwnode), owner);

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-10 12:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20260504074610.40799-6-andriy.shevchenko@linux.intel.com>
2026-05-10 12:41 ` [PATCH net-next v1 5/5] net: mdiobus: Hide acpi_mdio.h kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox