summaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2018-12-28 00:36:03 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2018-12-28 12:11:48 -0800
commite5cb113f2dbc8125f31005faebab161a2a84ebe6 (patch)
tree66317fd8b28dcbe4cdaac624edec6d3ae6a9aab5 /mm/page_alloc.c
parent9a2f45ff320287d49a3cd90ce68cb58a6da6f5e1 (diff)
downloadlinux-e5cb113f2dbc8125f31005faebab161a2a84ebe6.tar.bz2
mm: make free_reserved_area() return "const char *"
and propagate through down the call stack. Link: http://lkml.kernel.org/r/20181124091411.GC10969@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 4115d7f20223..e97ebaf5ba26 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -7193,7 +7193,7 @@ void adjust_managed_page_count(struct page *page, long count)
}
EXPORT_SYMBOL(adjust_managed_page_count);
-unsigned long free_reserved_area(void *start, void *end, int poison, char *s)
+unsigned long free_reserved_area(void *start, void *end, int poison, const char *s)
{
void *pos;
unsigned long pages = 0;