fs/ext4/ioctl.c:45:5: sparse: sparse: symbol 'ext4_modify_primary_sb' was not declared. Should it be static?

From: kernel test robot
Date: Fri Dec 10 2021 - 14:05:20 EST


tree: https://github.com/0day-ci/linux/commits/UPDATE-20211210-231726/Lukas-Czerner/ext4-implement-support-for-get-set-fs-label/20211112-060030
head: 3645884240a4d5f00133b71e3a7fbb2070588706
commit: 3645884240a4d5f00133b71e3a7fbb2070588706 ext4: implement support for get/set fs label
date: 4 hours ago
config: i386-randconfig-s001-20211210 (https://download.01.org/0day-ci/archive/20211211/202112110238.laDrEJqZ-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://github.com/0day-ci/linux/commit/3645884240a4d5f00133b71e3a7fbb2070588706
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review UPDATE-20211210-231726/Lukas-Czerner/ext4-implement-support-for-get-set-fs-label/20211112-060030
git checkout 3645884240a4d5f00133b71e3a7fbb2070588706
# save the config file to linux build tree
mkdir build_dir
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash fs/ext4/

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


sparse warnings: (new ones prefixed by >>)
>> fs/ext4/ioctl.c:45:5: sparse: sparse: symbol 'ext4_modify_primary_sb' was not declared. Should it be static?
>> fs/ext4/ioctl.c:165:5: sparse: sparse: symbol 'ext4_modify_superblocks_fn' was not declared. Should it be static?

Please review and possibly fold the followup patch.

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