tree: https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git slub-tiny-v1r5 head: 42cf80fd8a1433dfa43065872de1b112508a9543 commit: 9eb10b8c2f6dbe64584a2ad0e9daa41f5ee537a6 [11/16] mm, slab: ignore SLAB_RECLAIM_ACCOUNT with CONFIG_SLUB_TINY config: arm-randconfig-s051-20221127 compiler: arm-linux-gnueabi-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://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git/commit/?id=9eb10b8c2f6dbe64584a2ad0e9daa41f5ee537a6 git remote add vbabka https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git git fetch --no-tags vbabka slub-tiny-v1r5 git checkout 9eb10b8c2f6dbe64584a2ad0e9daa41f5ee537a6 # 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=arm 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 >>) >> fs/f2fs/super.c:4628:45: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted slab_flags_t [usertype] flags @@ got int @@ fs/f2fs/super.c:4628:45: sparse: expected restricted slab_flags_t [usertype] flags fs/f2fs/super.c:4628:45: sparse: got int fs/f2fs/super.c:1416:35: sparse: sparse: context imbalance in 'f2fs_drop_inode' - unexpected unlock -- >> fs/nilfs2/super.c:1407:45: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted slab_flags_t [usertype] flags @@ got int @@ fs/nilfs2/super.c:1407:45: sparse: expected restricted slab_flags_t [usertype] flags fs/nilfs2/super.c:1407:45: sparse: got int vim +4628 fs/f2fs/super.c aff063e266cbf4 Jaegeuk Kim 2012-11-02 4623 6e6093a8f14441 Namjae Jeon 2013-01-17 4624 static int __init init_inodecache(void) aff063e266cbf4 Jaegeuk Kim 2012-11-02 4625 { 5d097056c9a017 Vladimir Davydov 2016-01-14 4626 f2fs_inode_cachep = kmem_cache_create("f2fs_inode_cache", 5d097056c9a017 Vladimir Davydov 2016-01-14 4627 sizeof(struct f2fs_inode_info), 0, 5d097056c9a017 Vladimir Davydov 2016-01-14 @4628 SLAB_RECLAIM_ACCOUNT|SLAB_ACCOUNT, NULL); 6bacf52fb58aeb Jaegeuk Kim 2013-12-06 4629 if (!f2fs_inode_cachep) aff063e266cbf4 Jaegeuk Kim 2012-11-02 4630 return -ENOMEM; aff063e266cbf4 Jaegeuk Kim 2012-11-02 4631 return 0; aff063e266cbf4 Jaegeuk Kim 2012-11-02 4632 } aff063e266cbf4 Jaegeuk Kim 2012-11-02 4633 :::::: The code at line 4628 was first introduced by commit :::::: 5d097056c9a017a3b720849efb5432f37acabbac kmemcg: account certain kmem allocations to memcg :::::: TO: Vladimir Davydov :::::: CC: Linus Torvalds -- 0-DAY CI Kernel Test Service https://01.org/lkp