* [vbabka:b4/slub-percpu-sheaves 5/9] kernel/fork.c:532:2: error: #endif without #if
@ 2024-11-07 1:01 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-11-07 1:01 UTC (permalink / raw)
To: Vlastimil Babka; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git b4/slub-percpu-sheaves
head: c9a0c0d9abbb215ecaca59e751140fc4f46652af
commit: 7d84a5e7aa7522ecd72d1aaff0b9ce6421d7c99a [5/9] mm, vma: use sheaves for vm_area_struct cache
config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20241107/202411070802.Wbvv86Ld-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241107/202411070802.Wbvv86Ld-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/202411070802.Wbvv86Ld-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from kernel/fork.c:35:
In file included from include/linux/mempolicy.h:15:
In file included from include/linux/pagemap.h:8:
In file included from include/linux/mm.h:2213:
include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
In file included from kernel/fork.c:47:
include/linux/mm_inline.h:47:41: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
47 | __mod_lruvec_state(lruvec, NR_LRU_BASE + lru, nr_pages);
| ~~~~~~~~~~~ ^ ~~~
include/linux/mm_inline.h:49:22: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
49 | NR_ZONE_LRU_BASE + lru, nr_pages);
| ~~~~~~~~~~~~~~~~ ^ ~~~
>> kernel/fork.c:532:2: error: #endif without #if
532 | #endif
| ^
3 warnings and 1 error generated.
vim +532 kernel/fork.c
7d84a5e7aa7522 Vlastimil Babka 2024-07-10 527
7d84a5e7aa7522 Vlastimil Babka 2024-07-10 528 vma_numab_state_free(vma);
7d84a5e7aa7522 Vlastimil Babka 2024-07-10 529 free_anon_vma_name(vma);
7d84a5e7aa7522 Vlastimil Babka 2024-07-10 530 vma_lock_free(vma);
20cce633f4254c Michel Lespinasse 2023-02-27 531 }
20cce633f4254c Michel Lespinasse 2023-02-27 @532 #endif
20cce633f4254c Michel Lespinasse 2023-02-27 533
:::::: The code at line 532 was first introduced by commit
:::::: 20cce633f4254cc0df39665449726e3172518f6c mm: rcu safe VMA freeing
:::::: TO: Michel Lespinasse <michel@lespinasse.org>
:::::: CC: Andrew Morton <akpm@linux-foundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-07 1:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-07 1:01 [vbabka:b4/slub-percpu-sheaves 5/9] kernel/fork.c:532:2: error: #endif without #if kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox