From: Leon Romanovsky Date: Fri, 21 Aug 2020 00:42:08 +0000 (-0700) Subject: mm/rodata_test.c: fix missing function declaration X-Git-Tag: microblaze-v5.11~498^2~6 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=86f54bb7e4ff22ad5dd0b1e179610cc8bbb3bd63;p=linux-2.6-microblaze.git mm/rodata_test.c: fix missing function declaration The compilation with CONFIG_DEBUG_RODATA_TEST set produces the following warning due to the missing include. mm/rodata_test.c:15:6: warning: no previous prototype for 'rodata_test' [-Wmissing-prototypes] 15 | void rodata_test(void) | ^~~~~~~~~~~ Fixes: 2959a5f726f6 ("mm: add arch-independent testcases for RODATA") Signed-off-by: Leon Romanovsky Signed-off-by: Andrew Morton Reviewed-by: Anshuman Khandual Link: https://lkml.kernel.org/r/20200819080026.918134-1-leon@kernel.org Signed-off-by: Linus Torvalds --- diff --git a/mm/rodata_test.c b/mm/rodata_test.c index 2a99df7beeb3..2613371945b7 100644 --- a/mm/rodata_test.c +++ b/mm/rodata_test.c @@ -7,6 +7,7 @@ */ #define pr_fmt(fmt) "rodata_test: " fmt +#include #include #include