From: kernel test robot <lkp@intel.com>
To: Vlastimil Babka <vbabka@suse.cz>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [vbabka:b4/slub-percpu-sheaves 5/9] kernel/fork.c:532:2: error: #endif without #if
Date: Thu, 7 Nov 2024 09:01:15 +0800 [thread overview]
Message-ID: <202411070802.Wbvv86Ld-lkp@intel.com> (raw)
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
reply other threads:[~2024-11-07 1:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202411070802.Wbvv86Ld-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox