tree:
https://git.kernel.org/pub/scm/linux/kernel/git/mel/linux.git
mm-percpu-local_lock-v1r10
head: e1091ede0db3313db25301e58af64ca32864c27d
commit: 3a24d9db7af3d4090cc014399883bde082890934 [12/16] mm/page_alloc: Convert per-cpu
list protection to local_lock
config: x86_64-randconfig-s021-20210322 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-277-gc089cd2d-dirty
#
https://git.kernel.org/pub/scm/linux/kernel/git/mel/linux.git/commit/?id=...
git remote add mel
https://git.kernel.org/pub/scm/linux/kernel/git/mel/linux.git
git fetch --no-tags mel mm-percpu-local_lock-v1r10
git checkout 3a24d9db7af3d4090cc014399883bde082890934
# 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 >>)
> mm/page_alloc.c:118:1: sparse: sparse: symbol
'__pcpu_scope_pagesets' was not declared. Should it be static?
mm/page_alloc.c: note: in included file (through include/linux/mm.h):
include/linux/gfp.h:341:27: sparse: sparse: restricted gfp_t degrades to integer
include/linux/gfp.h:341:27: sparse: sparse: restricted gfp_t degrades to integer
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org