CC: [email protected] TO: [email protected] tree: https://android.googlesource.com/kernel/common android12-5.10 head: 2d6a43c0364d3bb0c5c00b0a32b27f4c7740e004 commit: 2f3f5731de0536a6a1048ae01e129cebec48e664 [13773/13830] ANDROID: GKI: Add vendor hook to binder transaction :::::: branch date: 2 days ago :::::: commit date: 4 weeks ago config: x86_64-randconfig-s021-20211207 (https://download.01.org/0day-ci/archive/20211212/[email protected]/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.4-dirty git remote add android-common https://android.googlesource.com/kernel/common git fetch --no-tags android-common android12-5.10 git checkout 2f3f5731de0536a6a1048ae01e129cebec48e664 # save the config file to linux build tree mkdir build_dir make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/android/
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> sparse warnings: (new ones prefixed by >>) include/trace/hooks/sched.h:177: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/sched.h:177:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:177:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:182: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/sched.h:182:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:182:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:186: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/sched.h:186:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:186:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:190: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/sched.h:190:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:190:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:194: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/sched.h:194:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:194:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:199: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/sched.h:199:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:199:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:203: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/sched.h:203:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:203:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:208: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/sched.h:208:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:208:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:212: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/sched.h:212:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:212:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:216: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/sched.h:216:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:216:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:220: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/sched.h:220:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:220:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:224: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/sched.h:224:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:224:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:242: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/sched.h:242:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:242:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:246: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/sched.h:246:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:246:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:251: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/sched.h:251:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:251:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:256: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/sched.h:256:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:256:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:273: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/sched.h:273:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:273:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:281: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/sched.h:281:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:281:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:286: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/sched.h:286:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:286:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:289: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/sched.h:289:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:289:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:294: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/sched.h:294:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:294:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:306: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/sched.h:306:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:306:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:310: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/sched.h:310:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:310:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:322: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/sched.h:322:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:322:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:326: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/sched.h:326:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:326:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:333: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/sched.h:333:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:333:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:337: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/sched.h:337:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:337:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:341: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/sched.h:341:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:341:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:345: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/sched.h:345:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:345:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:349: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/sched.h:349:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:349:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:373: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/sched.h:373:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:373:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:377: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/sched.h:377:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:377:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/sched.h:381: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/sched.h:381:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/sched.h:381: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: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/binder.h:55:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/binder.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/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/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: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/cpufreq.h:31:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cpufreq.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/mm.h): include/trace/hooks/mm.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/mm.h:19:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/mm.h:19:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/mm.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/mm.h:22:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/mm.h:22:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/mm.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/mm.h:25:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/mm.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/preemptirq.h): include/trace/hooks/preemptirq.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/preemptirq.h:14:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/preemptirq.h:14:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/preemptirq.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/preemptirq.h:18:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/preemptirq.h:18:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/preemptirq.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/preemptirq.h:22:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/preemptirq.h:22:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/preemptirq.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/preemptirq.h:26:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/preemptirq.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/bug.h): include/trace/hooks/bug.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/bug.h:14:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/bug.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/fault.h): include/trace/hooks/fault.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/fault.h:15:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/fault.h:15:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/fault.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/fault.h:19:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/fault.h:19:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/fault.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/fault.h:23:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/fault.h:23:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/fault.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/fault.h:27:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/fault.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/ufshcd.h): include/trace/hooks/ufshcd.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/ufshcd.h:22:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/ufshcd.h:22:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/ufshcd.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/ufshcd.h:26:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/ufshcd.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/cgroup.h): include/trace/hooks/cgroup.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/cgroup.h:15:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cgroup.h:15:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/cgroup.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/cgroup.h:18:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cgroup.h:18:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/cgroup.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/cgroup.h:21:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/cgroup.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/traps.h): include/trace/hooks/traps.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/traps.h:15:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/traps.h:15:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/traps.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/traps.h:20:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/traps.h:20:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/traps.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/traps.h:25:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/traps.h:25: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/typec.h): include/trace/hooks/typec.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/typec.h:32:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/typec.h:32:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs include/trace/hooks/typec.h:43: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/typec.h:43:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/typec.h:43: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: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/vmscan.h:28:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/vmscan.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/v4l2core.h): include/trace/hooks/v4l2core.h:47: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/v4l2core.h:47:1: sparse: expected struct tracepoint_func *it_func_ptr -- drivers/android/binder.c:1373:70: sparse: sparse: Using plain integer as NULL pointer drivers/android/binder.c:2520:41: sparse: sparse: Using plain integer as NULL pointer drivers/android/binder.c:4624:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected restricted __poll_t @@ got int @@ drivers/android/binder.c:4624:24: sparse: expected restricted __poll_t drivers/android/binder.c:4624:24: sparse: got int drivers/android/binder.c: note: in included file: >> include/trace/hooks/binder.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/binder.h:55:1: sparse: expected struct tracepoint_func *it_func_ptr include/trace/hooks/binder.h:55:1: sparse: got struct tracepoint_func [noderef] __rcu *funcs vim +55 include/trace/hooks/binder.h 2f3f5731de0536 Liangliang Li 2021-11-10 @55 DECLARE_RESTRICTED_HOOK(android_rvh_binder_transaction, 2f3f5731de0536 Liangliang Li 2021-11-10 56 TP_PROTO(struct binder_proc *target_proc, struct binder_proc *proc, 2f3f5731de0536 Liangliang Li 2021-11-10 57 struct binder_thread *thread, struct binder_transaction_data *tr), 2f3f5731de0536 Liangliang Li 2021-11-10 58 TP_ARGS(target_proc, proc, thread, tr), 1); 301e89472f3e00 Zhuguangqing 2021-03-09 59 DECLARE_HOOK(android_vh_binder_preset, 301e89472f3e00 Zhuguangqing 2021-03-09 60 TP_PROTO(struct hlist_head *hhead, struct mutex *lock), 301e89472f3e00 Zhuguangqing 2021-03-09 61 TP_ARGS(hhead, lock)); 35014985c266fa zhengding chen 2021-04-28 62 DECLARE_HOOK(android_vh_binder_proc_transaction, 35014985c266fa zhengding chen 2021-04-28 63 TP_PROTO(struct task_struct *caller_task, struct task_struct *binder_proc_task, 35014985c266fa zhengding chen 2021-04-28 64 struct task_struct *binder_th_task, int node_debug_id, 35014985c266fa zhengding chen 2021-04-28 65 unsigned int code, bool pending_async), 35014985c266fa zhengding chen 2021-04-28 66 TP_ARGS(caller_task, binder_proc_task, binder_th_task, node_debug_id, code, pending_async)); 35014985c266fa zhengding chen 2021-04-28 67 DECLARE_HOOK(android_vh_binder_new_ref, 35014985c266fa zhengding chen 2021-04-28 68 TP_PROTO(struct task_struct *proc, uint32_t ref_desc, int node_debug_id), 35014985c266fa zhengding chen 2021-04-28 69 TP_ARGS(proc, ref_desc, node_debug_id)); 35014985c266fa zhengding chen 2021-04-28 70 DECLARE_HOOK(android_vh_binder_del_ref, 35014985c266fa zhengding chen 2021-04-28 71 TP_PROTO(struct task_struct *proc, uint32_t ref_desc), 35014985c266fa zhengding chen 2021-04-28 72 TP_ARGS(proc, ref_desc)); eabe9707f264c8 zhang chuang 2021-06-16 73 DECLARE_HOOK(android_vh_binder_print_transaction_info, eabe9707f264c8 zhang chuang 2021-06-16 74 TP_PROTO(struct seq_file *m, struct binder_proc *proc, eabe9707f264c8 zhang chuang 2021-06-16 75 const char *prefix, struct binder_transaction *t), eabe9707f264c8 zhang chuang 2021-06-16 76 TP_ARGS(m, proc, prefix, t)); 301e89472f3e00 Zhuguangqing 2021-03-09 77 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected] _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
