../kernel/bpf/arraymap.c: In function ‘percpu_array_map_direct_value_addr’: ../kernel/bpf/arraymap.c:264:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 264 | *imm = (u64) array->pptrs[0]; | ^ ../kernel/bpf/arraymap.c: In function ‘percpu_array_map_direct_value_meta’: ../kernel/bpf/arraymap.c:272:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 272 | u64 base = (u64) array->pptrs[0]; | ^ ../kernel/bpf/arraymap.c: In function ‘percpu_array_map_direct_value_addr’: ../kernel/bpf/arraymap.c:264:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 264 | *imm = (u64) array->pptrs[0]; | ^ ../kernel/bpf/arraymap.c: In function ‘percpu_array_map_direct_value_meta’: ../kernel/bpf/arraymap.c:272:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 272 | u64 base = (u64) array->pptrs[0]; | ^ New errors added --- /tmp/tmp.VQgpxXmtDJ 2025-05-26 09:29:46.786355750 -0700 +++ /tmp/tmp.TNeO5o4d5z 2025-05-26 09:32:00.803615249 -0700 @@ -0,0 +1,8 @@ +../kernel/bpf/arraymap.c: In function ‘percpu_array_map_direct_value_addr’: +../kernel/bpf/arraymap.c:264:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 264 | *imm = (u64) array->pptrs[0]; + | ^ +../kernel/bpf/arraymap.c: In function ‘percpu_array_map_direct_value_meta’: +../kernel/bpf/arraymap.c:272:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 272 | u64 base = (u64) array->pptrs[0]; + | ^ Per-file breakdown --- /tmp/tmp.tLyXd2jsGj 2025-05-26 09:32:00.808167375 -0700 +++ /tmp/tmp.dnfdjMxS2R 2025-05-26 09:32:00.812167340 -0700 @@ -0,0 +1 @@ + 2 ../kernel/bpf/arraymap.c