* [android-common:android13-5.15 0/2] include/trace/hooks/tmpfile.h:16:1: sparse: sparse: incorrect type in assignment (different address spaces)
@ 2025-12-17 18:25 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-17 18:25 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android13-5.15
head: d36711b0a31fb7c6682f53e306fa330cc0b125a2
commit: 2b2398f1d9c269e475b77079bfaf57f2a9bcba05 [0/2] ANDROID: Add vendor hooks for FUSE tmpfile support
config: i386-randconfig-061-20251217 (https://download.01.org/0day-ci/archive/20251218/202512180234.yocgiCf4-lkp@intel.com/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251218/202512180234.yocgiCf4-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/202512180234.yocgiCf4-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
include/trace/hooks/avc.h:18:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/avc.h:18:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/avc.h:22:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/avc.h:22:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/avc.h:22:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/avc.h:26:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/avc.h:26:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/avc.h:26:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/creds.h):
include/trace/hooks/creds.h:22:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/creds.h:22:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/creds.h:22:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/creds.h:26:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/creds.h:26:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/creds.h:26:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/creds.h:30:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/creds.h:30:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/creds.h:30:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/creds.h:34:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/creds.h:34:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/creds.h:34:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/bug.h):
include/trace/hooks/bug.h:10:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/bug.h:10:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/bug.h:10:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/fault.h):
include/trace/hooks/fault.h:16:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/fault.h:16:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/fault.h:16:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/fault.h:20:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/fault.h:20:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/fault.h:20:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/fault.h:24:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/fault.h:24:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/fault.h:24:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/fault.h:28:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/fault.h:28:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/fault.h:28:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/traps.h):
include/trace/hooks/traps.h:16:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/traps.h:16:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/traps.h:16:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/traps.h:21:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/traps.h:21:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/traps.h:21:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/traps.h:26:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/traps.h:26:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/traps.h:26:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/traps.h:30:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/traps.h:30:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/traps.h:30:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/traps.h:34:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/traps.h:34:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/traps.h:34:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/timekeeping.h):
include/trace/hooks/timekeeping.h:18:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/timekeeping.h:18:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/timekeeping.h:18:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/audio_usboffload.h):
include/trace/hooks/audio_usboffload.h:38:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/audio_usboffload.h:38:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/audio_usboffload.h:38:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/psci.h):
include/trace/hooks/psci.h:13:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/psci.h:13:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/psci.h:13:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/psci.h:17:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/psci.h:17:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/psci.h:17:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/dmabuf.h):
include/trace/hooks/dmabuf.h:31:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/dmabuf.h:31:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/dmabuf.h:31:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/mmc.h):
include/trace/hooks/mmc.h:55:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/mmc.h:55:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/mmc.h:55:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/mmc.h:59:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/mmc.h:59:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/mmc.h:59:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/mmc.h:75:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/mmc.h:75:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/mmc.h:75:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/mmc.h:79:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/mmc.h:79:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/mmc.h:79:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/mmc.h:83:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/mmc.h:83:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/mmc.h:83:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/delayacct.h):
include/trace/hooks/delayacct.h:26:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/delayacct.h:26:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/delayacct.h:26:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/delayacct.h:29:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/delayacct.h:29:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/delayacct.h:29:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/delayacct.h:32:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/delayacct.h:32:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/delayacct.h:32:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/tmpfile.h):
>> include/trace/hooks/tmpfile.h:16:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/tmpfile.h:16:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/tmpfile.h:16:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/tmpfile.h:20:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct tracepoint_func *it_func_ptr @@ got struct tracepoint_func [noderef] __rcu *funcs @@
include/trace/hooks/tmpfile.h:20:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/tmpfile.h:20:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
vim +16 include/trace/hooks/tmpfile.h
11
12 struct fuse_args;
13 struct dentry;
14 struct inode;
15 struct fuse_mount;
> 16 DECLARE_RESTRICTED_HOOK(android_rvh_tmpfile_create,
17 TP_PROTO(struct fuse_args *args, struct dentry **d, struct dentry *entry,
18 struct inode *inode, bool *skip_splice),
19 TP_ARGS(args, d, entry, inode, skip_splice), 1);
20 DECLARE_RESTRICTED_HOOK(android_rvh_tmpfile_handle_op,
21 TP_PROTO(struct inode *dir, struct dentry *entry, umode_t mode,
22 int (*f)(struct fuse_mount *, struct fuse_args *,
23 struct inode *, struct dentry *, umode_t),
24 int *ret),
25 TP_ARGS(dir, entry, mode, f, ret), 1);
26 DECLARE_HOOK(android_vh_tmpfile_secctx,
27 TP_PROTO(struct fuse_args *args, u32 security_ctxlen, void *security_ctx,
28 bool *skip_ctxargset),
29 TP_ARGS(args, security_ctxlen, security_ctx, skip_ctxargset));
30 DECLARE_HOOK(android_vh_tmpfile_create_check_inode,
31 TP_PROTO(struct fuse_args *args, struct inode *inode, int *err),
32 TP_ARGS(args, inode, err));
33 DECLARE_HOOK(android_vh_tmpfile_send_open,
34 TP_PROTO(uint32_t *flags),
35 TP_ARGS(flags));
36 #endif /* _TRACE_HOOK_TMPFILE_H */
37
--
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:[~2025-12-17 18:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-17 18:25 [android-common:android13-5.15 0/2] include/trace/hooks/tmpfile.h:16:1: sparse: sparse: incorrect type in assignment (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.