From: David Hildenbrand Date: Mon, 25 Aug 2025 12:25:59 +0000 (+0200) Subject: mm-memory-convert-print_bad_pte-to-print_bad_page_map-fix X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=7fa990dad9eefb5b74431f4b1aeac0a199e0e53f;p=users%2Fjedix%2Flinux-maple.git mm-memory-convert-print_bad_pte-to-print_bad_page_map-fix Let's just drop the warning, it's highly unlikely that we ever run into this, and if so, there is serious stuff going wrong elsewhere. Link: https://lkml.kernel.org/r/923b279c-de33-44dd-a923-2959afad8626@redhat.com Signed-off-by: David Hildenbrand Signed-off-by: Andrew Morton --- diff --git a/include/linux/pgtable.h b/include/linux/pgtable.h index 9f0329d45b1e..94249e671a7e 100644 --- a/include/linux/pgtable.h +++ b/include/linux/pgtable.h @@ -1997,7 +1997,6 @@ static inline const char *pgtable_level_to_str(enum pgtable_level level) case PGTABLE_LEVEL_PGD: return "pgd"; default: - VM_WARN_ON_ONCE(1); return "unknown"; } }