Hi Miklos, kernel test robot noticed the following build errors: [auto build test ERROR on brauner-vfs/vfs.all] [also build test ERROR on linus/master v6.13-rc1] [cannot apply to jack-fs/fsnotify pcmoore-selinux/next next-20241206] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Miklos-Szeredi/fanotify-notify-on-mount-attach-and-detach/20241206-231407 base: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs.all patch link: https://lore.kernel.org/r/20241206151154.60538-1-mszeredi%40redhat.com patch subject: [PATCH v2] fanotify: notify on mount attach and detach config: hexagon-randconfig-001-20241207 (https://download.01.org/0day-ci/archive/20241207/202412071410.oxkaXcVR-lkp@xxxxxxxxx/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241207/202412071410.oxkaXcVR-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202412071410.oxkaXcVR-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): In file included from fs/coredump.c:36: include/linux/fsnotify.h:258:20: error: redefinition of 'fsnotify_mntns_delete' static inline void fsnotify_mntns_delete(struct mnt_namespace *mntns) ^ include/linux/fsnotify_backend.h:914:20: note: previous definition is here static inline void fsnotify_mntns_delete(struct mnt_namespace *mntns) ^ In file included from fs/coredump.c:36: >> include/linux/fsnotify.h:260:2: error: implicit declaration of function '__fsnotify_mntns_delete' is invalid in C99 [-Werror,-Wimplicit-function-declaration] __fsnotify_mntns_delete(mntns); ^ include/linux/fsnotify.h:260:2: note: did you mean 'fsnotify_mntns_delete'? include/linux/fsnotify.h:258:20: note: 'fsnotify_mntns_delete' declared here static inline void fsnotify_mntns_delete(struct mnt_namespace *mntns) ^ 2 errors generated. -- In file included from fs/namespace.c:22: include/linux/fsnotify.h:258:20: error: redefinition of 'fsnotify_mntns_delete' static inline void fsnotify_mntns_delete(struct mnt_namespace *mntns) ^ include/linux/fsnotify_backend.h:914:20: note: previous definition is here static inline void fsnotify_mntns_delete(struct mnt_namespace *mntns) ^ In file included from fs/namespace.c:22: >> include/linux/fsnotify.h:260:2: error: implicit declaration of function '__fsnotify_mntns_delete' is invalid in C99 [-Werror,-Wimplicit-function-declaration] __fsnotify_mntns_delete(mntns); ^ include/linux/fsnotify.h:260:2: note: did you mean 'fsnotify_mntns_delete'? include/linux/fsnotify.h:258:20: note: 'fsnotify_mntns_delete' declared here static inline void fsnotify_mntns_delete(struct mnt_namespace *mntns) ^ >> fs/namespace.c:1126:10: error: no member named 'n_fsnotify_marks' in 'struct mnt_namespace' if (ns->n_fsnotify_marks) ~~ ^ 3 errors generated. vim +/__fsnotify_mntns_delete +260 include/linux/fsnotify.h 257 > 258 static inline void fsnotify_mntns_delete(struct mnt_namespace *mntns) 259 { > 260 __fsnotify_mntns_delete(mntns); 261 } 262 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki