tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 60bb8154d1d77042a5d43d335a68fdb202302cbe commit: 30f8f37147bc9af794b89e37d42fc858f201e5b0 cifs: store a pointer to a fid in the cfid structure instead of the struct date: 7 days ago config: i386-randconfig-s052-20221010 compiler: gcc-11 (Debian 11.3.0-5) 11.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=30f8f37147bc9af794b89e37d42fc858f201e5b0 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 30f8f37147bc9af794b89e37d42fc858f201e5b0 # 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=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> fs/cifs/cached_dir.c:415:6: sparse: sparse: symbol 'free_cached_dir' was not declared. Should it be static? vim +/free_cached_dir +415 fs/cifs/cached_dir.c 414 > 415 void free_cached_dir(struct cached_fid *cfid) 416 { 417 kfree(cfid->path); 418 cfid->path = NULL; 419 kfree(cfid); 420 } 421 -- 0-DAY CI Kernel Test Service https://01.org/lkp