tree:
https://android.googlesource.com/kernel/common android12-5.10
head: 2d6a43c0364d3bb0c5c00b0a32b27f4c7740e004
commit: 3bd9ad7eb4a7cdd14a08859a1d1edee72883dd7d [9496/13830] ANDROID: gic-v3: Change GIC
v3 vendor hook to restricted
config: x86_64-randconfig-s021-20211207
(
https://download.01.org/0day-ci/archive/20211212/202112121408.z4eQmKCQ-lk...)
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 3bd9ad7eb4a7cdd14a08859a1d1edee72883dd7d
# 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/ drivers/media/mc/ drivers/media/v4l2-core/
drivers/pci/ net/core/ net/ipv4/
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