* [song:fanotify-bpf 1/3] fs/notify/fanotify/fanotify.c:1062:63: sparse: sparse: incorrect type in argument 1 (different address spaces)
@ 2026-05-06 6:17 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-06 6:17 UTC (permalink / raw)
To: Song Liu; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/song/linux.git fanotify-bpf
head: d2202d928a9b4a190058b1bc4731b72477a10c8e
commit: 85c87cab4c9c2ffa4a9d2b00525a75576f50c550 [1/3] fanotify: Introduce fanotify filter
config: nios2-randconfig-r133-20260506 (https://download.01.org/0day-ci/archive/20260506/202605061408.WGETFhTu-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260506/202605061408.WGETFhTu-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202605061408.WGETFhTu-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> fs/notify/fanotify/fanotify.c:1062:63: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct fanotify_filter_hook *filter_hook @@ got struct fanotify_filter_hook [noderef] __rcu *filter_hook @@
fs/notify/fanotify/fanotify.c:1062:63: sparse: expected struct fanotify_filter_hook *filter_hook
fs/notify/fanotify/fanotify.c:1062:63: sparse: got struct fanotify_filter_hook [noderef] __rcu *filter_hook
vim +1062 fs/notify/fanotify/fanotify.c
1048
1049 static void fanotify_free_group_priv(struct fsnotify_group *group)
1050 {
1051 put_user_ns(group->user_ns);
1052 kfree(group->fanotify_data.merge_hash);
1053 if (group->fanotify_data.ucounts)
1054 dec_ucount(group->fanotify_data.ucounts,
1055 UCOUNT_FANOTIFY_GROUPS);
1056
1057 if (mempool_initialized(&group->fanotify_data.error_events_pool))
1058 mempool_exit(&group->fanotify_data.error_events_pool);
1059
1060 #ifdef CONFIG_FANOTIFY_FILTER
1061 if (group->fanotify_data.filter_hook)
> 1062 fanotify_filter_hook_free(group->fanotify_data.filter_hook);
1063 #endif
1064 }
1065
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-06 6:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-06 6:17 [song:fanotify-bpf 1/3] fs/notify/fanotify/fanotify.c:1062:63: sparse: sparse: incorrect type in argument 1 (different address spaces) kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.