* [android-common:android13-5.10-2026-10 1/1] mm/page_alloc.c:6789:16: sparse: sparse: incorrect type in assignment (different address spaces)
@ 2026-10-27 10:06 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-27 10:06 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android13-5.10-2026-10
head: a4c2f82969bc5fa7fcc21ede4b690ece7ff72335
commit: 42596c7b41c85be2647f23da66cda4b0a0c242e1 [1/1] ANDROID: fix ABI breakage caused by per_cpu_pages
config: arm64-randconfig-r2309-20261018 (https://download.01.org/0day-ci/archive/20261027/202610271107.YfAcC0zm-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.5.0
sparse: v0.6.5-rc1-1-gc4640450
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261027/202610271107.YfAcC0zm-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/202610271107.YfAcC0zm-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> mm/page_alloc.c:6789:16: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct per_cpu_pageset_ext *ps_ext @@ got struct per_cpu_pageset_ext [noderef] __percpu * @@
mm/page_alloc.c:6789:16: sparse: expected struct per_cpu_pageset_ext *ps_ext
mm/page_alloc.c:6789:16: sparse: got struct per_cpu_pageset_ext [noderef] __percpu *
>> mm/page_alloc.c:6790:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct per_cpu_pageset [noderef] __percpu *pageset @@ got struct per_cpu_pageset * @@
mm/page_alloc.c:6790:23: sparse: expected struct per_cpu_pageset [noderef] __percpu *pageset
mm/page_alloc.c:6790:23: sparse: got struct per_cpu_pageset *
mm/page_alloc.c:3365:28: sparse: sparse: context imbalance in 'free_unref_page_commit' - unexpected unlock
mm/page_alloc.c:3687:20: sparse: sparse: context imbalance in '__rmqueue_pcplist' - different lock contexts for basic block
mm/page_alloc.c: note: in included file (through include/linux/mm.h):
include/linux/gfp.h:369:27: sparse: sparse: restricted gfp_t degrades to integer
include/linux/gfp.h:369:27: sparse: sparse: restricted gfp_t degrades to integer
include/linux/gfp.h:369:27: sparse: sparse: restricted gfp_t degrades to integer
include/linux/gfp.h:369:27: sparse: sparse: restricted gfp_t degrades to integer
vim +6789 mm/page_alloc.c
6783
6784 void __meminit setup_zone_pageset(struct zone *zone)
6785 {
6786 int cpu;
6787 struct per_cpu_pageset_ext *ps_ext;
6788
> 6789 ps_ext = alloc_percpu(struct per_cpu_pageset_ext);
> 6790 zone->pageset = &ps_ext->pageset;
6791 for_each_possible_cpu(cpu)
6792 zone_pageset_init(zone, cpu);
6793 }
6794
--
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-10-27 10:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-27 10:06 [android-common:android13-5.10-2026-10 1/1] mm/page_alloc.c:6789:16: 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.