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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Anshuman Khandual <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
1 parent e47110e commit 86f54bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)