[linuxppc:next-test 13/41] arch/powerpc/sysdev/xive/common.c:1796:17: error: implicit declaration of function 'xive_core_debugfs_create'; did you mean 'xive_core_debug_init'?

From: kernel test robot
Date: Thu Nov 18 2021 - 16:43:34 EST


tree: https://github.com/linuxppc/linux next-test
head: 5d12a44d97850aacfc86a4817ca304fc33876476
commit: 30c6666e0ee9a6b271157cbd1ec06d936d4493fa [13/41] powerpc/xive: Introduce xive_core_debugfs_create()
config: powerpc64-alldefconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/linuxppc/linux/commit/30c6666e0ee9a6b271157cbd1ec06d936d4493fa
git remote add linuxppc https://github.com/linuxppc/linux
git fetch --no-tags linuxppc next-test
git checkout 30c6666e0ee9a6b271157cbd1ec06d936d4493fa
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=powerpc

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

All errors (new ones prefixed by >>):

arch/powerpc/sysdev/xive/common.c: In function 'xive_core_debug_init':
>> arch/powerpc/sysdev/xive/common.c:1796:17: error: implicit declaration of function 'xive_core_debugfs_create'; did you mean 'xive_core_debug_init'? [-Werror=implicit-function-declaration]
1796 | xive_core_debugfs_create();
| ^~~~~~~~~~~~~~~~~~~~~~~~
| xive_core_debug_init
cc1: all warnings being treated as errors


vim +1796 arch/powerpc/sysdev/xive/common.c

1792
1793 int xive_core_debug_init(void)
1794 {
1795 if (xive_enabled() && IS_ENABLED(CONFIG_DEBUG_FS))
> 1796 xive_core_debugfs_create();

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

Attachment: .config.gz
Description: application/gzip