All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-pci@vger.kernel.org,
	Bjorn Helgaas <helgaas@kernel.org>
Subject: [pci:hotplug 1/2] drivers/pci/hotplug/shpchp_core.c:330:9: error: implicit declaration of function 'dbg'
Date: Wed, 19 Feb 2025 07:15:41 +0800	[thread overview]
Message-ID: <202502190754.ogAfcyNP-lkp@intel.com> (raw)

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

                 reply	other threads:[~2025-02-18 23:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202502190754.ogAfcyNP-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=helgaas@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=linux-pci@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.