* [android-common:android17-6.18 2/2] include/trace/hooks/blk.h:51:1: sparse: sparse: incorrect type in assignment (different address spaces)
@ 2026-05-15 15:09 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-15 15:09 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android17-6.18
head: 6d689dd8b2631ce3829b6c20ff3b92cbc1c17599
commit: 18fc3793db1db68c1a9db2c0300326ac1df1c47e [2/2] ANDROID: block: add vendor hooks to implement IO aggregation in DDK modules.
config: arm64-randconfig-r112-20260515 (https://download.01.org/0day-ci/archive/20260515/202605152355.pL5SSY0d-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 9.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260515/202605152355.pL5SSY0d-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/202605152355.pL5SSY0d-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/android/vendor_hooks.c: note: in included file (through include/trace/define_trace.h, include/trace/hooks/avc.h):
include/trace/hooks/avc.h:14: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:14:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/avc.h:14:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/avc.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/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/blk.h):
>> include/trace/hooks/blk.h:51: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/blk.h:51:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/blk.h:51:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/blk.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/blk.h:55:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/blk.h:55: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/cgroup.h):
include/trace/hooks/cgroup.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/cgroup.h:22:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/cgroup.h:22:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/cgroup.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/cgroup.h:26:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/cgroup.h:26:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/cgroup.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/cgroup.h:30:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/cgroup.h:30: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/cpufreq.h):
include/trace/hooks/cpufreq.h:15: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/cpufreq.h:15:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/cpufreq.h:15:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/cpufreq.h:23: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/cpufreq.h:23:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/cpufreq.h:23:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/cpufreq.h:46: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/cpufreq.h:46:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/cpufreq.h:46: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/cpuinfo.h):
include/trace/hooks/cpuinfo.h:12: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/cpuinfo.h:12:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/cpuinfo.h:12: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/dtask.h):
include/trace/hooks/dtask.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/dtask.h:32:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/dtask.h:32:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/dtask.h:129: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/dtask.h:129:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/dtask.h:129: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: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/fault.h:13:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/fault.h:13:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/fault.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/fault.h:17:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/fault.h:17:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/fault.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/fault.h:26:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/fault.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/fs.h):
include/trace/hooks/fs.h:69: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/fs.h:69:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/fs.h:69:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/fs.h:81: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/fs.h:81:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/fs.h:81: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/gic.h):
include/trace/hooks/gic.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/gic.h:18:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/gic.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/gic_v3.h):
include/trace/hooks/gic_v3.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/gic_v3.h:18:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/gic_v3.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/gunyah.h):
include/trace/hooks/gunyah.h:12: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/gunyah.h:12:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/gunyah.h:12:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/gunyah.h:15: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/gunyah.h:15:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/gunyah.h:15:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/gunyah.h:19: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/gunyah.h:19:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/gunyah.h:19:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/gunyah.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/gunyah.h:22:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/gunyah.h:22:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/gunyah.h:25: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/gunyah.h:25:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/gunyah.h:25: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/iommu.h):
include/trace/hooks/iommu.h:12: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/iommu.h:12:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/iommu.h:12:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/iommu.h:19: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/iommu.h:19:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/iommu.h:19:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/iommu.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/iommu.h:26:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/iommu.h:26:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/iommu.h:42: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/iommu.h:42:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/iommu.h:42:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/iommu.h:46: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/iommu.h:46:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/iommu.h:46: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/logbuf.h):
include/trace/hooks/logbuf.h:15: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/logbuf.h:15:1: sparse: expected struct tracepoint_func *it_func_ptr
vim +51 include/trace/hooks/blk.h
46
47 DECLARE_HOOK(android_vh_f2fs_ra_op_flags,
48 TP_PROTO(blk_opf_t *op_flag, struct readahead_control *rac),
49 TP_ARGS(op_flag, rac));
50
> 51 DECLARE_RESTRICTED_HOOK(android_rvh_submit_bio_pre,
52 TP_PROTO(struct bio *bio, struct request *rq),
53 TP_ARGS(bio, rq), 1);
54
--
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-15 15:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-15 15:09 [android-common:android17-6.18 2/2] include/trace/hooks/blk.h:51: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.