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>
This commit is contained in:
Alexey Dobriyan
2018-12-28 00:36:03 -08:00
committed by Linus Torvalds
parent 9a2f45ff32
commit e5cb113f2d
4 changed files with 4 additions and 4 deletions

View File

@@ -2108,7 +2108,7 @@ extern void free_initmem(void);
* Return pages freed into the buddy system.
*/
extern unsigned long free_reserved_area(void *start, void *end,
int poison, char *s);
int poison, const char *s);
#ifdef CONFIG_HIGHMEM
/*