[djwong-xfs:vectorized-scrub 59/401] fs/xfs/xfs_mount.c:1395:1: sparse: sparse: symbol 'xfs_drain_waiter_hook' was not declared. Should it be static?

From: kernel test robot
Date: Sat Jun 04 2022 - 16:57:50 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git vectorized-scrub
head: 1fcd9cea011a657d62ee332d161966c1ec92ffd5
commit: 3af08f1b3aa1b9abb663bf030786a97d41f9081f [59/401] xfs: use per-cpu counters to implement intent draining
config: x86_64-randconfig-s021 (https://download.01.org/0day-ci/archive/20220605/202206050410.XuV4Iw7k-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-1) 11.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-18-g56afb504-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/commit/?id=3af08f1b3aa1b9abb663bf030786a97d41f9081f
git remote add djwong-xfs https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
git fetch --no-tags djwong-xfs vectorized-scrub
git checkout 3af08f1b3aa1b9abb663bf030786a97d41f9081f
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash fs/xfs/

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


sparse warnings: (new ones prefixed by >>)
>> fs/xfs/xfs_mount.c:1395:1: sparse: sparse: symbol 'xfs_drain_waiter_hook' was not declared. Should it be static?

Please review and possibly fold the followup patch.

--
0-DAY CI Kernel Test Service
https://01.org/lkp