[dhowells-fs:fscache-iter-2 42/68] fs/fscache/cookie.c:34:14: sparse: sparse: symbol 'fscache_lru_cookie_timeout' was not declared. Should it be static?

From: kernel test robot
Date: Tue Jul 13 2021 - 04:32:38 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git fscache-iter-2
head: d45090b191774b11ecfe2421f5619827aa08ad00
commit: 4bd5274decc61468104b84b1c1bc72817700e63b [42/68] cachefiles: Automatically close a file that's not in use after a while
config: i386-randconfig-s002-20210713 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/commit/?id=4bd5274decc61468104b84b1c1bc72817700e63b
git remote add dhowells-fs https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
git fetch --no-tags dhowells-fs fscache-iter-2
git checkout 4bd5274decc61468104b84b1c1bc72817700e63b
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash fs/fscache/

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/fscache/cookie.c:34:14: sparse: sparse: symbol 'fscache_lru_cookie_timeout' 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

Attachment: .config.gz
Description: application/gzip