tree:
https://android.googlesource.com/kernel/common android12-5.10
head: a3da917661321bb3ab95bce235fd1ff8280f7dd2
commit: 3bd9ad7eb4a7cdd14a08859a1d1edee72883dd7d [9491/10673] ANDROID: gic-v3: Change GIC
v3 vendor hook to restricted
config: x86_64-randconfig-s021-20210720 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
git remote add android-common
https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android12-5.10
git checkout 3bd9ad7eb4a7cdd14a08859a1d1edee72883dd7d
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
include/trace/hooks/sched.h:165: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:165:1: sparse: expected struct tracepoint_func
*it_func_ptr
include/trace/hooks/sched.h:165:1: sparse: got struct tracepoint_func [noderef]
__rcu *funcs
include/trace/hooks/sched.h:169: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:169:1: sparse: expected struct tracepoint_func
*it_func_ptr
include/trace/hooks/sched.h:169:1: sparse: got struct tracepoint_func [noderef]
__rcu *funcs
include/trace/hooks/sched.h:173: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:173:1: sparse: expected struct tracepoint_func
*it_func_ptr
include/trace/hooks/sched.h:173:1: sparse: got struct tracepoint_func [noderef]
__rcu *funcs
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
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: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
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: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/mm.h:18:1: sparse: expected struct tracepoint_func
*it_func_ptr
include/trace/hooks/mm.h:18:1: sparse: got struct tracepoint_func [noderef] __rcu
*funcs
include/trace/hooks/mm.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/mm.h:21:1: sparse: expected struct tracepoint_func
*it_func_ptr
include/trace/hooks/mm.h:21:1: sparse: got struct tracepoint_func [noderef] __rcu
*funcs
include/trace/hooks/mm.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/mm.h:24:1: sparse: expected struct tracepoint_func
*it_func_ptr
include/trace/hooks/mm.h:24: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/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
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: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/traps.h:24:1: sparse: expected struct tracepoint_func
*it_func_ptr
include/trace/hooks/traps.h:24: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
vim +18 include/trace/hooks/gic_v3.h
18 DECLARE_RESTRICTED_HOOK(android_rvh_gic_v3_set_affinity,
19 TP_PROTO(struct irq_data *d, const struct cpumask *mask_val,
20 u64 *affinity, bool force, void __iomem *base),
21 TP_ARGS(d, mask_val, affinity, force, base),
22 1);
23
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org