From 4b280e66ee7d7a8f82a5e50082e9531f7fc9306c Mon Sep 17 00:00:00 2001 From: Suren Baghdasaryan Date: Tue, 25 May 2021 10:43:46 -0700 Subject: [PATCH] ANDROID: fix a warning due to type mismatch in pr_warn For pr_warn format string to correctly reflect the types of the arguments. Fixes: 0249af9c0e0b ("ANDROID: mm: page_alloc: skip dump pages for freeable page") Bug: 188908895 Signed-off-by: Suren Baghdasaryan Change-Id: Id218aafa9fa4148f036f35ca190cf65bfee2160e --- mm/page_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 5976a2e6390e..d71f6366ba9d 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -8559,7 +8559,7 @@ static void alloc_contig_dump_pages(struct list_head *page_list) } dump_page(page, "migration failure"); } - pr_warn("total dump_pages %u skipping %u\n", nr_pages, nr_skip); + pr_warn("total dump_pages %lu skipping %lu\n", nr_pages, nr_skip); } } #else