Skip to content

Commit 86f54bb

Browse files
rleontorvalds
authored andcommitted
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: 2959a5f ("mm: add arch-independent testcases for RODATA") Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com> Link: https://lkml.kernel.org/r/20200819080026.918134-1-leon@kernel.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent e47110e commit 86f54bb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎mm/rodata_test.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
*/
88
#define pr_fmt(fmt) "rodata_test: " fmt
99

10+
#include <linux/rodata_test.h>
1011
#include <linux/uaccess.h>
1112
#include <asm/sections.h>
1213

0 commit comments

Comments
 (0)