* [android-common:android16-6.12-2025-12 0/1] include/trace/hooks/binder.h:131:1: sparse: sparse: incorrect type in assignment (different address spaces)
@ 2026-03-27 5:12 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-03-27 5:12 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android16-6.12-2025-12
head: 7db1e563d6f73706150a812a21f13e5fbc14efde
commit: b13ee5ea88c0090e686cc168a5905f15a7cadc46 [0/1] ANDROID: vendor_hooks: add hook to record binder transaction info
config: i386-randconfig-061-20260327 (https://download.01.org/0day-ci/archive/20260327/202603271337.JCgzecW6-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260327/202603271337.JCgzecW6-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/202603271337.JCgzecW6-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/android/binderfs.c: note: in included file:
>> include/trace/hooks/binder.h:131: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/binder.h:131:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/binder.h:131: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/binder.h):
>> include/trace/hooks/binder.h:131: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/binder.h:131:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/binder.h:131: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/wqlockup.h):
include/trace/hooks/wqlockup.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/wqlockup.h:13:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/wqlockup.h:13:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/wqlockup.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/wqlockup.h:21:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/wqlockup.h:21: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: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/cpufreq.h:14:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/cpufreq.h:14:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/cpufreq.h:41: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:41:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/cpufreq.h:41: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/preemptirq.h):
include/trace/hooks/preemptirq.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/preemptirq.h:13:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/preemptirq.h:13:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/preemptirq.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/preemptirq.h:17:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/preemptirq.h:17:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/preemptirq.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/preemptirq.h:21:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/preemptirq.h:21:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/preemptirq.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/preemptirq.h:25:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/preemptirq.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/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
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/fs.h):
include/trace/hooks/fs.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/fs.h:14:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/fs.h:14:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/fs.h:64: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:64:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/fs.h:64: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/vmscan.h):
include/trace/hooks/vmscan.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/vmscan.h:15:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/vmscan.h:15:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/vmscan.h:88: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/vmscan.h:88:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/vmscan.h:88:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/vmscan.h:91: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/vmscan.h:91:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/vmscan.h:91: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/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/creds.h):
include/trace/hooks/creds.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/creds.h:15:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/creds.h:15:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/creds.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/creds.h:19:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/creds.h:19:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/creds.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/creds.h:23:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/creds.h:23:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs
include/trace/hooks/creds.h:27: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:27:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/creds.h:27: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/selinux.h):
include/trace/hooks/selinux.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/selinux.h:14:1: sparse: expected struct tracepoint_func *it_func_ptr
include/trace/hooks/selinux.h:14: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):
vim +131 include/trace/hooks/binder.h
21
22 DECLARE_HOOK(android_vh_binder_transaction_init,
23 TP_PROTO(struct binder_transaction *t),
24 TP_ARGS(t));
25 DECLARE_HOOK(android_vh_binder_set_priority,
26 TP_PROTO(struct binder_transaction *t, struct task_struct *task),
27 TP_ARGS(t, task));
28 DECLARE_HOOK(android_vh_binder_restore_priority,
29 TP_PROTO(struct binder_transaction *t, struct task_struct *task),
30 TP_ARGS(t, task));
31 DECLARE_HOOK(android_vh_binder_alloc_new_buf_locked,
32 TP_PROTO(size_t size, size_t *free_async_space, int is_async, bool *should_fail),
33 TP_ARGS(size, free_async_space, is_async, should_fail));
34 DECLARE_HOOK(android_vh_binder_wait_for_work,
35 TP_PROTO(bool do_proc_work, struct binder_thread *tsk, struct binder_proc *proc),
36 TP_ARGS(do_proc_work, tsk, proc));
37 DECLARE_HOOK(android_vh_sync_txn_recvd,
38 TP_PROTO(struct task_struct *tsk, struct task_struct *from),
39 TP_ARGS(tsk, from));
40 DECLARE_HOOK(android_vh_binder_proc_transaction_finish,
41 TP_PROTO(struct binder_proc *proc, struct binder_transaction *t,
42 struct task_struct *binder_th_task, bool pending_async, bool sync),
43 TP_ARGS(proc, t, binder_th_task, pending_async, sync));
44 DECLARE_HOOK(android_vh_binder_select_special_worklist,
45 TP_PROTO(struct list_head **list, struct binder_thread *thread, struct binder_proc *proc,
46 int wait_for_proc_work, bool *nothing_to_do),
47 TP_ARGS(list, thread, proc, wait_for_proc_work, nothing_to_do));
48 DECLARE_HOOK(android_vh_alloc_oem_binder_struct,
49 TP_PROTO(struct binder_transaction_data *tr, struct binder_transaction *t,
50 struct binder_proc *proc),
51 TP_ARGS(tr, t, proc));
52 DECLARE_HOOK(android_vh_binder_transaction_received,
53 TP_PROTO(struct binder_transaction *t, struct binder_proc *proc,
54 struct binder_thread *thread, uint32_t cmd),
55 TP_ARGS(t, proc, thread, cmd));
56 DECLARE_HOOK(android_vh_free_oem_binder_struct,
57 TP_PROTO(struct binder_transaction *t),
58 TP_ARGS(t));
59 DECLARE_HOOK(android_vh_binder_special_task,
60 TP_PROTO(struct binder_transaction *t, struct binder_proc *proc,
61 struct binder_thread *thread, struct binder_work *w,
62 struct list_head *head, bool sync, bool *special_task),
63 TP_ARGS(t, proc, thread, w, head, sync, special_task));
64 DECLARE_HOOK(android_vh_binder_buffer_release,
65 TP_PROTO(struct binder_proc *proc, struct binder_thread *thread,
66 struct binder_buffer *buffer, bool has_transaction),
67 TP_ARGS(proc, thread, buffer, has_transaction));
68 DECLARE_HOOK(android_vh_binder_ioctl_end,
69 TP_PROTO(struct task_struct *caller_task,
70 unsigned int cmd,
71 unsigned long arg,
72 struct binder_thread *thread,
73 struct binder_proc *proc,
74 int *ret),
75 TP_ARGS(caller_task, cmd, arg, thread, proc, ret));
76 DECLARE_HOOK(android_vh_binder_looper_exited,
77 TP_PROTO(struct binder_thread *thread, struct binder_proc *proc),
78 TP_ARGS(thread, proc));
79 DECLARE_HOOK(android_vh_binder_spawn_new_thread,
80 TP_PROTO(struct binder_thread *thread, struct binder_proc *proc, bool *force_spawn),
81 TP_ARGS(thread, proc, force_spawn));
82 DECLARE_HOOK(android_vh_binder_has_special_work_ilocked,
83 TP_PROTO(struct binder_thread *thread, bool do_proc_work, bool *has_work),
84 TP_ARGS(thread, do_proc_work, has_work));
85 DECLARE_HOOK(android_vh_binder_list_add_work,
86 TP_PROTO(struct binder_work *work, struct list_head *target_list),
87 TP_ARGS(work, target_list));
88 DECLARE_HOOK(android_vh_binder_has_proc_work_ilocked,
89 TP_PROTO(struct binder_thread *thread, bool do_proc_work, bool *has_work),
90 TP_ARGS(thread, do_proc_work, has_work));
91 DECLARE_HOOK(android_vh_binder_check_special_work,
92 TP_PROTO(struct binder_proc *proc, struct list_head **special_list),
93 TP_ARGS(proc, special_list));
94 DECLARE_HOOK(android_vh_binder_free_proc,
95 TP_PROTO(struct binder_proc *proc),
96 TP_ARGS(proc));
97 DECLARE_HOOK(android_vh_binder_preset,
98 TP_PROTO(struct hlist_head *hhead, struct mutex *lock, struct binder_proc *proc),
99 TP_ARGS(hhead, lock, proc));
100 DECLARE_HOOK(android_vh_binder_reply,
101 TP_PROTO(struct binder_proc *target_proc, struct binder_proc *proc,
102 struct binder_thread *thread, struct binder_transaction_data *tr),
103 TP_ARGS(target_proc, proc, thread, tr));
104 DECLARE_HOOK(android_vh_binder_trans,
105 TP_PROTO(struct binder_proc *target_proc, struct binder_proc *proc,
106 struct binder_thread *thread, struct binder_transaction_data *tr),
107 TP_ARGS(target_proc, proc, thread, tr));
108 DECLARE_HOOK(android_vh_binder_proc_transaction,
109 TP_PROTO(struct task_struct *caller_task, struct task_struct *binder_proc_task,
110 struct task_struct *binder_th_task, int node_debug_id,
111 struct binder_transaction *t, bool pending_async),
112 TP_ARGS(caller_task, binder_proc_task, binder_th_task, node_debug_id, t, pending_async));
113 DECLARE_HOOK(android_vh_binder_thread_read,
114 TP_PROTO(struct list_head **list, struct binder_proc *proc,
115 struct binder_thread *thread),
116 TP_ARGS(list, proc, thread));
117 DECLARE_HOOK(android_vh_binder_transaction_record,
118 TP_PROTO(struct binder_transaction_data *tr,
119 struct binder_transaction *t,
120 struct binder_transaction *in_reply_to),
121 TP_ARGS(tr, t, in_reply_to));
122 DECLARE_HOOK(android_vh_binder_data_preset,
123 TP_PROTO(struct hlist_head *binder_procs,
124 struct mutex *binder_procs_lock,
125 struct binder_transaction_log *binder_transaction_log,
126 struct binder_transaction_log *binder_transaction_log_failed,
127 size_t size),
128 TP_ARGS(binder_procs,
129 binder_procs_lock, binder_transaction_log,
130 binder_transaction_log_failed, size));
> 131 DECLARE_RESTRICTED_HOOK(android_rvh_init_binder_logs,
--
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-03-27 5:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-27 5:12 [android-common:android16-6.12-2025-12 0/1] include/trace/hooks/binder.h:131: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.