All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Vlastimil Babka <vbabka@suse.cz>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH 2/3] mm, slab: use an enum to define SLAB_ cache creation flags
Date: Thu, 22 Feb 2024 09:54:48 +0800	[thread overview]
Message-ID: <202402220901.BkG3ubx4-lkp@intel.com> (raw)
In-Reply-To: <20240220-slab-cleanup-flags-v1-2-e657e373944a@suse.cz>

Hi Vlastimil,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 6613476e225e090cc9aad49be7fa504e290dd33d]

url:    https://github.com/intel-lab-lkp/linux/commits/Vlastimil-Babka/mm-slab-deprecate-SLAB_MEM_SPREAD-flag/20240221-005936
base:   6613476e225e090cc9aad49be7fa504e290dd33d
patch link:    https://lore.kernel.org/r/20240220-slab-cleanup-flags-v1-2-e657e373944a%40suse.cz
patch subject: [PATCH 2/3] mm, slab: use an enum to define SLAB_ cache creation flags
config: i386-randconfig-062-20240222 (https://download.01.org/0day-ci/archive/20240222/202402220901.BkG3ubx4-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240222/202402220901.BkG3ubx4-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/202402220901.BkG3ubx4-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> fs/adfs/super.c:252:64: sparse: sparse: incorrect type in argument 4 (different base types) @@     expected restricted slab_flags_t [usertype] flags @@     got int @@
   fs/adfs/super.c:252:64: sparse:     expected restricted slab_flags_t [usertype] flags
   fs/adfs/super.c:252:64: sparse:     got int
--
>> fs/affs/super.c:134:64: sparse: sparse: incorrect type in argument 4 (different base types) @@     expected restricted slab_flags_t [usertype] flags @@     got int @@
   fs/affs/super.c:134:64: sparse:     expected restricted slab_flags_t [usertype] flags
   fs/affs/super.c:134:64: sparse:     got int
--
>> fs/btrfs/transaction.c:2725:40: sparse: sparse: incorrect type in argument 4 (different base types) @@     expected restricted slab_flags_t [usertype] flags @@     got int @@
   fs/btrfs/transaction.c:2725:40: sparse:     expected restricted slab_flags_t [usertype] flags
   fs/btrfs/transaction.c:2725:40: sparse:     got int
   fs/btrfs/transaction.c: note: in included file (through include/linux/wait.h, include/linux/wait_bit.h, include/linux/fs.h):
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   fs/btrfs/transaction.c: note: in included file (through arch/x86/include/generated/asm/unaligned.h, fs/btrfs/accessors.h, fs/btrfs/ctree.h):
   include/asm-generic/unaligned.h:37:16: sparse: sparse: self-comparison always evaluates to true
   fs/btrfs/transaction.c: note: in included file (through include/linux/wait.h, include/linux/wait_bit.h, include/linux/fs.h):
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
--
>> fs/btrfs/inode.c:8664:64: sparse: sparse: incorrect type in argument 4 (different base types) @@     expected restricted slab_flags_t [usertype] flags @@     got int @@
   fs/btrfs/inode.c:8664:64: sparse:     expected restricted slab_flags_t [usertype] flags
   fs/btrfs/inode.c:8664:64: sparse:     got int
   fs/btrfs/inode.c: note: in included file (through include/linux/swait.h, include/linux/completion.h, include/linux/crypto.h, ...):
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   fs/btrfs/inode.c: note: in included file (through include/linux/string.h, arch/x86/include/asm/page_32.h, arch/x86/include/asm/page.h, ...):
   include/linux/err.h:41:17: sparse: sparse: self-comparison always evaluates to false
   fs/btrfs/inode.c: note: in included file (through include/linux/swait.h, include/linux/completion.h, include/linux/crypto.h, ...):
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
   include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
--
>> fs/efs/super.c:94:69: sparse: sparse: incorrect type in argument 4 (different base types) @@     expected restricted slab_flags_t [usertype] flags @@     got int @@
   fs/efs/super.c:94:69: sparse:     expected restricted slab_flags_t [usertype] flags
   fs/efs/super.c:94:69: sparse:     got int
--
>> fs/freevxfs/vxfs_super.c:310:45: sparse: sparse: incorrect type in argument 4 (different base types) @@     expected restricted slab_flags_t [usertype] flags @@     got int @@
   fs/freevxfs/vxfs_super.c:310:45: sparse:     expected restricted slab_flags_t [usertype] flags
   fs/freevxfs/vxfs_super.c:310:45: sparse:     got int
--
>> fs/jffs2/super.c:390:64: sparse: sparse: incorrect type in argument 4 (different base types) @@     expected restricted slab_flags_t [usertype] flags @@     got int @@
   fs/jffs2/super.c:390:64: sparse:     expected restricted slab_flags_t [usertype] flags
   fs/jffs2/super.c:390:64: sparse:     got int
--
>> fs/minix/inode.c:90:64: sparse: sparse: incorrect type in argument 4 (different base types) @@     expected restricted slab_flags_t [usertype] flags @@     got int @@
   fs/minix/inode.c:90:64: sparse:     expected restricted slab_flags_t [usertype] flags
   fs/minix/inode.c:90:64: sparse:     got int
--
>> fs/nilfs2/super.c:1404:45: sparse: sparse: incorrect type in argument 4 (different base types) @@     expected restricted slab_flags_t [usertype] flags @@     got int @@
   fs/nilfs2/super.c:1404:45: sparse:     expected restricted slab_flags_t [usertype] flags
   fs/nilfs2/super.c:1404:45: sparse:     got int
--
>> fs/qnx6/inode.c:618:64: sparse: sparse: incorrect type in argument 4 (different base types) @@     expected restricted slab_flags_t [usertype] flags @@     got int @@
   fs/qnx6/inode.c:618:64: sparse:     expected restricted slab_flags_t [usertype] flags
   fs/qnx6/inode.c:618:64: sparse:     got int
--
>> fs/romfs/super.c:633:74: sparse: sparse: incorrect type in argument 4 (different base types) @@     expected restricted slab_flags_t [usertype] flags @@     got int @@
   fs/romfs/super.c:633:74: sparse:     expected restricted slab_flags_t [usertype] flags
   fs/romfs/super.c:633:74: sparse:     got int
--
>> fs/sysv/inode.c:339:61: sparse: sparse: incorrect type in argument 4 (different base types) @@     expected restricted slab_flags_t [usertype] flags @@     got int @@
   fs/sysv/inode.c:339:61: sparse:     expected restricted slab_flags_t [usertype] flags
   fs/sysv/inode.c:339:61: sparse:     got int
--
>> fs/ufs/super.c:1473:70: sparse: sparse: incorrect type in argument 4 (different base types) @@     expected restricted slab_flags_t [usertype] flags @@     got int @@
   fs/ufs/super.c:1473:70: sparse:     expected restricted slab_flags_t [usertype] flags
   fs/ufs/super.c:1473:70: sparse:     got int

vim +252 fs/adfs/super.c

^1da177e4c3f41 Linus Torvalds   2005-04-16  246  
894122db491350 Fabian Frederick 2014-04-07  247  static int __init init_inodecache(void)
^1da177e4c3f41 Linus Torvalds   2005-04-16  248  {
^1da177e4c3f41 Linus Torvalds   2005-04-16  249  	adfs_inode_cachep = kmem_cache_create("adfs_inode_cache",
^1da177e4c3f41 Linus Torvalds   2005-04-16  250  					     sizeof(struct adfs_inode_info),
fffb60f93ce588 Paul Jackson     2006-03-24  251  					     0, (SLAB_RECLAIM_ACCOUNT|
5d097056c9a017 Vladimir Davydov 2016-01-14 @252  						SLAB_MEM_SPREAD|SLAB_ACCOUNT),
20c2df83d25c6a Paul Mundt       2007-07-20  253  					     init_once);
^1da177e4c3f41 Linus Torvalds   2005-04-16  254  	if (adfs_inode_cachep == NULL)
^1da177e4c3f41 Linus Torvalds   2005-04-16  255  		return -ENOMEM;
^1da177e4c3f41 Linus Torvalds   2005-04-16  256  	return 0;
^1da177e4c3f41 Linus Torvalds   2005-04-16  257  }
^1da177e4c3f41 Linus Torvalds   2005-04-16  258  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  parent reply	other threads:[~2024-02-22  1:55 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-20 16:58 [PATCH 0/3] cleanup of SLAB_ flags Vlastimil Babka
2024-02-20 16:58 ` [PATCH 1/3] mm, slab: deprecate SLAB_MEM_SPREAD flag Vlastimil Babka
2024-02-21  2:17   ` Song, Xiongwei
2024-02-21  7:11   ` Chengming Zhou
2024-02-21 18:30   ` Roman Gushchin
2024-02-22  1:10     ` Song, Xiongwei
2024-02-22  2:32       ` Chengming Zhou
2024-02-22  3:13         ` Song, Xiongwei
2024-02-23 16:41         ` Vlastimil Babka
2024-02-24  9:32           ` Chengming Zhou
2024-02-20 16:58 ` [PATCH 2/3] mm, slab: use an enum to define SLAB_ cache creation flags Vlastimil Babka
2024-02-21  2:23   ` Song, Xiongwei
2024-02-21  7:13   ` Chengming Zhou
2024-02-21 18:33   ` Roman Gushchin
2024-02-23 16:42     ` Vlastimil Babka
2024-02-21 22:19   ` Vlastimil Babka
2024-02-22  1:54   ` kernel test robot [this message]
2024-02-22  1:54   ` kernel test robot
2024-02-23  3:12   ` Christoph Lameter (Ampere)
2024-02-23 16:43     ` Vlastimil Babka
2024-02-23 17:06       ` Vlastimil Babka
2024-02-20 16:58 ` [PATCH 3/3] mm, slab, kasan: replace kasan_never_merge() with SLAB_NO_MERGE Vlastimil Babka
2024-02-21  2:25   ` Song, Xiongwei
2024-02-21  7:14   ` Chengming Zhou
2024-02-21 20:48   ` Andrey Konovalov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202402220901.BkG3ubx4-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=vbabka@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.