On Fri, 12 Sep 2025 13:34:37 +0200 David Hildenbrand david@redhat.com wrote:
[-Werror=unused-value] 247 | #define arch_enter_lazy_mmu_mode() (LAZY_MMU_DEFAULT) | ^ mm/kasan/shadow.c:322:9: note: in expansion of macro 'arch_enter_lazy_mmu_mode' 322 | arch_enter_lazy_mmu_mode(); | ^~~~~~~~~~~~~~~~~~~~~~~~ mm/kasan/shadow.c: In function 'kasan_depopulate_vmalloc_pte': include/linux/pgtable.h:247:41: error: statement with no effect [-Werror=unused-value] 247 | #define arch_enter_lazy_mmu_mode() (LAZY_MMU_DEFAULT) | ^ mm/kasan/shadow.c:497:9: note: in expansion of macro 'arch_enter_lazy_mmu_mode' 497 | arch_enter_lazy_mmu_mode(); | ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors
I'm afraid these changes landed in -mm-unstable a bit too early.
OK, I'll drop Patch series "Nesting support for lazy MMU mode", v2.