summaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2018-12-28 09:36:03 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2018-12-28 21:11:48 +0100
commite5cb113f2dbc8125f31005faebab161a2a84ebe6 (patch)
tree66317fd8b28dcbe4cdaac624edec6d3ae6a9aab5 /mm/page_alloc.c
parentmm/debug.c: make "migrate_reason_names[]" const char * (diff)
downloadlinux-e5cb113f2dbc8125f31005faebab161a2a84ebe6.tar.xz
linux-e5cb113f2dbc8125f31005faebab161a2a84ebe6.zip
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;