]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mm-memory-convert-print_bad_pte-to-print_bad_page_map-fix
authorDavid Hildenbrand <david@redhat.com>
Mon, 25 Aug 2025 12:25:59 +0000 (14:25 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 12 Sep 2025 00:24:47 +0000 (17:24 -0700)
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 <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/pgtable.h

index 9f0329d45b1e1d3b83239e940d1dba7a8dba9976..94249e671a7e8b85e440fc20ec1cb64690ec12d7 100644 (file)
@@ -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";
        }
 }