summaryrefslogtreecommitdiff
path: root/mm/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/debug.c')
-rw-r--r--mm/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/debug.c b/mm/debug.c
index 64ddb0c4b4be..77fa8fe1d641 100644
--- a/mm/debug.c
+++ b/mm/debug.c
@@ -67,7 +67,7 @@ static const char *page_type_name(unsigned int page_type)
return page_type_names[i];
}
-static void __dump_folio(struct folio *folio, struct page *page,
+static void __dump_folio(const struct folio *folio, const struct page *page,
unsigned long pfn, unsigned long idx)
{
struct address_space *mapping = folio_mapping(folio);
@@ -327,7 +327,7 @@ static int __init setup_vm_debug(char *str)
while (*str) {
switch (tolower(*str)) {
- case'p':
+ case 'p':
__page_init_poisoning = true;
break;
default: