tree: https://github.com/amir73il/linux fsnotify_event_info head: 4ad14805402352430e0b98901b97ec9166d9dae4 commit: 4ad14805402352430e0b98901b97ec9166d9dae4 [2/2] fsnotify: fast path optimization for IO on pipe with no watches config: sparc-randconfig-r026-20210803 (attached as .config) compiler: sparc-linux-gcc (GCC) 10.3.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/amir73il/linux/commit/4ad14805402352430e0b98901b97ec9166d9dae4 git remote add amir73il https://github.com/amir73il/linux git fetch --no-tags amir73il fsnotify_event_info git checkout 4ad14805402352430e0b98901b97ec9166d9dae4 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=sparc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from fs/notify/fsnotify.h:6, from fs/notify/fsnotify.c:15: include/linux/fsnotify.h: In function 'fsnotify_access': >> include/linux/fsnotify.h:263:2: error: implicit declaration of function 'fsnotify_file'; did you mean 'fsnotify_link'? [-Werror=implicit-function-declaration] 263 | fsnotify_file(file, FS_ACCESS); | ^~~~~~~~~~~~~ | fsnotify_link cc1: some warnings being treated as errors vim +263 include/linux/fsnotify.h 116b9731ad7614 Amir Goldstein 2019-05-26 257 0eeca28300df11 Robert Love 2005-07-12 258 /* 0eeca28300df11 Robert Love 2005-07-12 259 * fsnotify_access - file was read 0eeca28300df11 Robert Love 2005-07-12 260 */ 2a12a9d7814631 Eric Paris 2009-12-17 261 static inline void fsnotify_access(struct file *file) 0eeca28300df11 Robert Love 2005-07-12 262 { eae36a2b8324c9 Amir Goldstein 2020-03-19 @263 fsnotify_file(file, FS_ACCESS); ecf081d1a73b07 Eric Paris 2009-12-17 264 } 0eeca28300df11 Robert Love 2005-07-12 265 :::::: The code at line 263 was first introduced by commit :::::: eae36a2b8324c9dd0a66b2ae32abd4a456e49c39 fsnotify: factor helpers fsnotify_dentry() and fsnotify_file() :::::: TO: Amir Goldstein :::::: CC: Jan Kara --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org