mm: make dump_page() take a const argument
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 27 Feb 2024 19:23:32 +0000 (19:23 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 6 Mar 2024 21:04:18 +0000 (13:04 -0800)
commitb3a3203309c89061452250f7384507787b7badcb
treeb7180ae0901ec2ecf5ec30d8741b49aed435f837
parentfae7d834c43ccdb9fcecaf4d0f33145d884b3e5c
mm: make dump_page() take a const argument

Now that __dump_page() takes a const argument, we can make dump_page()
take a const struct page too.

Link: https://lkml.kernel.org/r/20240227192337.757313-6-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/mmdebug.h
mm/debug.c