kernel/irq/irqdomain.c:1672:13: warning: no previous declaration for 'irq_domain_debugfs_init'

From: kernel test robot
Date: Wed Mar 02 2022 - 17:20:54 EST


Hi Thomas,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fb184c4af9b9f4563e7a126219389986a71d5b5b
commit: 087cdfb662ae50e3826e7cd2e54b6519d07b60f0 genirq/debugfs: Add proper debugfs interface
date: 4 years, 8 months ago
config: i386-randconfig-r024-20211115 (https://download.01.org/0day-ci/archive/20220303/202203030600.ipn15MBE-lkp@xxxxxxxxx/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=087cdfb662ae50e3826e7cd2e54b6519d07b60f0
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 087cdfb662ae50e3826e7cd2e54b6519d07b60f0
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kernel/cpu/mcheck/ drivers/staging/ccree/ kernel/irq/ net/ipv6/ net/sunrpc/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> kernel/irq/irqdomain.c:1672:13: warning: no previous declaration for 'irq_domain_debugfs_init' [-Wmissing-declarations]
void __init irq_domain_debugfs_init(struct dentry *root)
^~~~~~~~~~~~~~~~~~~~~~~


vim +/irq_domain_debugfs_init +1672 kernel/irq/irqdomain.c

1671
> 1672 void __init irq_domain_debugfs_init(struct dentry *root)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx