Hi Aaron, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v6.0-rc7] [cannot apply to tip/timers/nohz] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Aaron-Tomlin/Ensure-quiet_vmstat-is-called-when-the-idle-tick-was-stopped-too/20220924-232617 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git a63f2e7cb1107ab124f80407e5eb8579c04eb7a9 config: loongarch-randconfig-s031-20220925 compiler: loongarch64-linux-gcc (GCC) 12.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://github.com/intel-lab-lkp/linux/commit/7228847514aa665d6745a03c37dbf180b7ac8743 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Aaron-Tomlin/Ensure-quiet_vmstat-is-called-when-the-idle-tick-was-stopped-too/20220924-232617 git checkout 7228847514aa665d6745a03c37dbf180b7ac8743 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=loongarch SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> mm/vmstat.c:202:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got bool [noderef] __percpu * @@ mm/vmstat.c:202:9: sparse: expected void *ptr mm/vmstat.c:202:9: sparse: got bool [noderef] __percpu * >> mm/vmstat.c:202:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got bool [noderef] __percpu * @@ mm/vmstat.c:202:9: sparse: expected void *ptr mm/vmstat.c:202:9: sparse: got bool [noderef] __percpu * >> mm/vmstat.c:202:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got bool [noderef] __percpu * @@ mm/vmstat.c:202:9: sparse: expected void *ptr mm/vmstat.c:202:9: sparse: got bool [noderef] __percpu * >> mm/vmstat.c:202:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got bool [noderef] __percpu * @@ mm/vmstat.c:202:9: sparse: expected void *ptr mm/vmstat.c:202:9: sparse: got bool [noderef] __percpu * >> mm/vmstat.c:202:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got bool [noderef] __percpu * @@ mm/vmstat.c:202:9: sparse: expected void *ptr mm/vmstat.c:202:9: sparse: got bool [noderef] __percpu * >> mm/vmstat.c:202:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got bool [noderef] __percpu * @@ mm/vmstat.c:202:9: sparse: expected void *ptr mm/vmstat.c:202:9: sparse: got bool [noderef] __percpu * >> mm/vmstat.c:202:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got bool [noderef] __percpu * @@ mm/vmstat.c:202:9: sparse: expected void *ptr mm/vmstat.c:202:9: sparse: got bool [noderef] __percpu * >> mm/vmstat.c:202:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got bool [noderef] __percpu * @@ mm/vmstat.c:202:9: sparse: expected void *ptr mm/vmstat.c:202:9: sparse: got bool [noderef] __percpu * mm/vmstat.c:207:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got bool [noderef] __percpu * @@ mm/vmstat.c:207:9: sparse: expected void *ptr mm/vmstat.c:207:9: sparse: got bool [noderef] __percpu * mm/vmstat.c:207:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got bool [noderef] __percpu * @@ mm/vmstat.c:207:9: sparse: expected void *ptr mm/vmstat.c:207:9: sparse: got bool [noderef] __percpu * mm/vmstat.c:207:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got bool [noderef] __percpu * @@ mm/vmstat.c:207:9: sparse: expected void *ptr mm/vmstat.c:207:9: sparse: got bool [noderef] __percpu * mm/vmstat.c:207:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got bool [noderef] __percpu * @@ mm/vmstat.c:207:9: sparse: expected void *ptr mm/vmstat.c:207:9: sparse: got bool [noderef] __percpu * mm/vmstat.c:1493:47: sparse: sparse: context imbalance in 'walk_zones_in_node' - unexpected unlock mm/vmstat.c:212:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got bool [noderef] __percpu * @@ mm/vmstat.c:212:16: sparse: expected void *ptr mm/vmstat.c:212:16: sparse: got bool [noderef] __percpu * mm/vmstat.c:212:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got bool [noderef] __percpu * @@ mm/vmstat.c:212:16: sparse: expected void *ptr mm/vmstat.c:212:16: sparse: got bool [noderef] __percpu * mm/vmstat.c:212:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got bool [noderef] __percpu * @@ mm/vmstat.c:212:16: sparse: expected void *ptr mm/vmstat.c:212:16: sparse: got bool [noderef] __percpu * mm/vmstat.c:212:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *ptr @@ got bool [noderef] __percpu * @@ mm/vmstat.c:212:16: sparse: expected void *ptr mm/vmstat.c:212:16: sparse: got bool [noderef] __percpu * vim +202 mm/vmstat.c 83bc5e1c6ef29d Aaron Tomlin 2022-09-24 199 83bc5e1c6ef29d Aaron Tomlin 2022-09-24 200 static inline void vmstat_mark_dirty(void) 83bc5e1c6ef29d Aaron Tomlin 2022-09-24 201 { 83bc5e1c6ef29d Aaron Tomlin 2022-09-24 @202 this_cpu_write(vmstat_dirty, true); 83bc5e1c6ef29d Aaron Tomlin 2022-09-24 203 } 83bc5e1c6ef29d Aaron Tomlin 2022-09-24 204 -- 0-DAY CI Kernel Test Service https://01.org/lkp