* [ljs:project/cow-context 1/18] mm/init-mm.c:26:21: sparse: sparse: incorrect type in initializer (different modifiers)
@ 2026-05-07 9:53 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-05-07 9:53 UTC (permalink / raw)
To: Lorenzo Stoakes; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/ljs/linux.git project/cow-context
head: e02aa02fef8128743869032cb20d26f752cd9154
commit: 1be9d553f4be97b754471cc04735f215e75c4bf2 [1/18] mm/rmap: add cow_context data structure and assign to mm
config: alpha-randconfig-r134-20260507 (https://download.01.org/0day-ci/archive/20260507/202605071732.qhO2KwOh-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.4.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260507/202605071732.qhO2KwOh-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/202605071732.qhO2KwOh-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> mm/init-mm.c:26:21: sparse: sparse: incorrect type in initializer (different modifiers) @@ expected struct list_head *next @@ got struct list_head [noderef] * @@
mm/init-mm.c:26:21: sparse: expected struct list_head *next
mm/init-mm.c:26:21: sparse: got struct list_head [noderef] *
>> mm/init-mm.c:26:21: sparse: sparse: incorrect type in initializer (different modifiers) @@ expected struct list_head *prev @@ got struct list_head [noderef] * @@
mm/init-mm.c:26:21: sparse: expected struct list_head *prev
mm/init-mm.c:26:21: sparse: got struct list_head [noderef] *
mm/init-mm.c:27:21: sparse: sparse: incorrect type in initializer (different modifiers) @@ expected struct list_head *next @@ got struct list_head [noderef] * @@
mm/init-mm.c:27:21: sparse: expected struct list_head *next
mm/init-mm.c:27:21: sparse: got struct list_head [noderef] *
mm/init-mm.c:27:21: sparse: sparse: incorrect type in initializer (different modifiers) @@ expected struct list_head *prev @@ got struct list_head [noderef] * @@
mm/init-mm.c:27:21: sparse: expected struct list_head *prev
mm/init-mm.c:27:21: sparse: got struct list_head [noderef] *
--
>> mm/cow_context.c:27:23: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct list_head *entry @@ got struct list_head [noderef] * @@
mm/cow_context.c:27:23: sparse: expected struct list_head *entry
mm/cow_context.c:27:23: sparse: got struct list_head [noderef] *
>> mm/cow_context.c:42:17: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct list_head const *head @@ got struct list_head [noderef] * @@
mm/cow_context.c:42:17: sparse: expected struct list_head const *head
mm/cow_context.c:42:17: sparse: got struct list_head [noderef] *
>> mm/cow_context.c:64:23: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct list_head *new @@ got struct list_head [noderef] * @@
mm/cow_context.c:64:23: sparse: expected struct list_head *new
mm/cow_context.c:64:23: sparse: got struct list_head [noderef] *
>> mm/cow_context.c:64:43: sparse: sparse: incorrect type in argument 2 (different modifiers) @@ expected struct list_head *head @@ got struct list_head [noderef] * @@
mm/cow_context.c:64:43: sparse: expected struct list_head *head
mm/cow_context.c:64:43: sparse: got struct list_head [noderef] *
>> mm/cow_context.c:77:25: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct list_head *list @@ got struct list_head [noderef] * @@
mm/cow_context.c:77:25: sparse: expected struct list_head *list
mm/cow_context.c:77:25: sparse: got struct list_head [noderef] *
mm/cow_context.c:78:25: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct list_head *list @@ got struct list_head [noderef] * @@
mm/cow_context.c:78:25: sparse: expected struct list_head *list
mm/cow_context.c:78:25: sparse: got struct list_head [noderef] *
vim +26 mm/init-mm.c
21
22 struct cow_context init_cow_context = {
23 .refcnt = REFCOUNT_INIT(1),
24 .mm = &init_mm,
25 .remap_mt = MTREE_INIT(remap_mt, MM_MT_FLAGS),
> 26 .children = LIST_HEAD_INIT(init_cow_context.children),
27 .siblings = LIST_HEAD_INIT(init_cow_context.siblings),
28 .list_write_lock = __SPIN_LOCK_UNLOCKED(init_cow_context.list_write_lock),
29 };
30
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread* [ljs:project/cow-context 1/18] mm/init-mm.c:26:21: sparse: sparse: incorrect type in initializer (different modifiers)
@ 2026-05-07 14:30 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-05-07 14:30 UTC (permalink / raw)
To: Lorenzo Stoakes; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/ljs/linux.git project/cow-context
head: e02aa02fef8128743869032cb20d26f752cd9154
commit: 1be9d553f4be97b754471cc04735f215e75c4bf2 [1/18] mm/rmap: add cow_context data structure and assign to mm
config: alpha-randconfig-r134-20260507 (https://download.01.org/0day-ci/archive/20260507/202605072229.SxWRTBhQ-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 13.4.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260507/202605072229.SxWRTBhQ-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/202605072229.SxWRTBhQ-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> mm/init-mm.c:26:21: sparse: sparse: incorrect type in initializer (different modifiers) @@ expected struct list_head *next @@ got struct list_head [noderef] * @@
mm/init-mm.c:26:21: sparse: expected struct list_head *next
mm/init-mm.c:26:21: sparse: got struct list_head [noderef] *
>> mm/init-mm.c:26:21: sparse: sparse: incorrect type in initializer (different modifiers) @@ expected struct list_head *prev @@ got struct list_head [noderef] * @@
mm/init-mm.c:26:21: sparse: expected struct list_head *prev
mm/init-mm.c:26:21: sparse: got struct list_head [noderef] *
mm/init-mm.c:27:21: sparse: sparse: incorrect type in initializer (different modifiers) @@ expected struct list_head *next @@ got struct list_head [noderef] * @@
mm/init-mm.c:27:21: sparse: expected struct list_head *next
mm/init-mm.c:27:21: sparse: got struct list_head [noderef] *
mm/init-mm.c:27:21: sparse: sparse: incorrect type in initializer (different modifiers) @@ expected struct list_head *prev @@ got struct list_head [noderef] * @@
mm/init-mm.c:27:21: sparse: expected struct list_head *prev
mm/init-mm.c:27:21: sparse: got struct list_head [noderef] *
--
>> mm/cow_context.c:27:23: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct list_head *entry @@ got struct list_head [noderef] * @@
mm/cow_context.c:27:23: sparse: expected struct list_head *entry
mm/cow_context.c:27:23: sparse: got struct list_head [noderef] *
>> mm/cow_context.c:42:17: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct list_head const *head @@ got struct list_head [noderef] * @@
mm/cow_context.c:42:17: sparse: expected struct list_head const *head
mm/cow_context.c:42:17: sparse: got struct list_head [noderef] *
>> mm/cow_context.c:64:23: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct list_head *new @@ got struct list_head [noderef] * @@
mm/cow_context.c:64:23: sparse: expected struct list_head *new
mm/cow_context.c:64:23: sparse: got struct list_head [noderef] *
>> mm/cow_context.c:64:43: sparse: sparse: incorrect type in argument 2 (different modifiers) @@ expected struct list_head *head @@ got struct list_head [noderef] * @@
mm/cow_context.c:64:43: sparse: expected struct list_head *head
mm/cow_context.c:64:43: sparse: got struct list_head [noderef] *
>> mm/cow_context.c:77:25: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct list_head *list @@ got struct list_head [noderef] * @@
mm/cow_context.c:77:25: sparse: expected struct list_head *list
mm/cow_context.c:77:25: sparse: got struct list_head [noderef] *
mm/cow_context.c:78:25: sparse: sparse: incorrect type in argument 1 (different modifiers) @@ expected struct list_head *list @@ got struct list_head [noderef] * @@
mm/cow_context.c:78:25: sparse: expected struct list_head *list
mm/cow_context.c:78:25: sparse: got struct list_head [noderef] *
vim +26 mm/init-mm.c
21
22 struct cow_context init_cow_context = {
23 .refcnt = REFCOUNT_INIT(1),
24 .mm = &init_mm,
25 .remap_mt = MTREE_INIT(remap_mt, MM_MT_FLAGS),
> 26 .children = LIST_HEAD_INIT(init_cow_context.children),
27 .siblings = LIST_HEAD_INIT(init_cow_context.siblings),
28 .list_write_lock = __SPIN_LOCK_UNLOCKED(init_cow_context.list_write_lock),
29 };
30
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-07 14:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-07 9:53 [ljs:project/cow-context 1/18] mm/init-mm.c:26:21: sparse: sparse: incorrect type in initializer (different modifiers) kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2026-05-07 14:30 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.