All of lore.kernel.org
 help / color / mirror / Atom feed
* [pci:hotplug 1/2] drivers/pci/hotplug/shpchp_core.c:330:9: error: implicit declaration of function 'dbg'
@ 2025-02-18 23:15 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-18 23:15 UTC (permalink / raw)
  To: Ilpo Järvinen; +Cc: oe-kbuild-all, linux-pci, Bjorn Helgaas

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git hotplug
head:   42e8331215cfd096f86b8605822a0fe8b0a2e2bb
commit: bf8863c9be49b92db646b78fecd445e59a4c1e9f [1/2] PCI: shpchp: Remove unused logging wrappers
config: arm-randconfig-001-20250219 (https://download.01.org/0day-ci/archive/20250219/202502190754.ogAfcyNP-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250219/202502190754.ogAfcyNP-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/202502190754.ogAfcyNP-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/pci/hotplug/shpchp_core.c: In function 'shpcd_init':
>> drivers/pci/hotplug/shpchp_core.c:330:9: error: implicit declaration of function 'dbg' [-Wimplicit-function-declaration]
     330 |         dbg("%s: pci_register_driver = %d\n", __func__, retval);
         |         ^~~
>> drivers/pci/hotplug/shpchp_core.c:331:9: error: implicit declaration of function 'info' [-Wimplicit-function-declaration]
     331 |         info(DRIVER_DESC " version: " DRIVER_VERSION "\n");
         |         ^~~~
--
   drivers/pci/hotplug/shpchp_hpc.c: In function 'shpc_get_cur_bus_speed':
>> drivers/pci/hotplug/shpchp_hpc.c:678:9: error: implicit declaration of function 'dbg' [-Wimplicit-function-declaration]
     678 |         dbg("Current bus speed = %d\n", bus_speed);
         |         ^~~


vim +/dbg +330 drivers/pci/hotplug/shpchp_core.c

^1da177e4c3f415 Linus Torvalds  2005-04-16  324  
^1da177e4c3f415 Linus Torvalds  2005-04-16  325  static int __init shpcd_init(void)
^1da177e4c3f415 Linus Torvalds  2005-04-16  326  {
f652e7d2916fe2f Bjorn Helgaas   2013-01-11  327  	int retval;
e24dcbef93dbbf5 Tejun Heo       2010-10-18  328  
^1da177e4c3f415 Linus Torvalds  2005-04-16  329  	retval = pci_register_driver(&shpc_driver);
66bef8c059015ba Harvey Harrison 2008-03-03 @330  	dbg("%s: pci_register_driver = %d\n", __func__, retval);
^1da177e4c3f415 Linus Torvalds  2005-04-16 @331  	info(DRIVER_DESC " version: " DRIVER_VERSION "\n");
f652e7d2916fe2f Bjorn Helgaas   2013-01-11  332  
^1da177e4c3f415 Linus Torvalds  2005-04-16  333  	return retval;
^1da177e4c3f415 Linus Torvalds  2005-04-16  334  }
^1da177e4c3f415 Linus Torvalds  2005-04-16  335  

:::::: The code at line 330 was first introduced by commit
:::::: 66bef8c059015ba2b36bb5759080336feb01e680 PCI: replace remaining __FUNCTION__ occurrences

:::::: TO: Harvey Harrison <harvey.harrison@gmail.com>
:::::: CC: Greg Kroah-Hartman <gregkh@suse.de>

-- 
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:[~2025-02-18 23:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-18 23:15 [pci:hotplug 1/2] drivers/pci/hotplug/shpchp_core.c:330:9: error: implicit declaration of function 'dbg' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.