]> git.baikalelectronics.ru Git - kernel.git/commit
mm/rodata_test.c: fix missing function declaration
authorLeon Romanovsky <leonro@nvidia.com>
Fri, 21 Aug 2020 00:42:08 +0000 (17:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 21 Aug 2020 16:52:53 +0000 (09:52 -0700)
commitf84324c9bb320d8f83a772f84bbec1ce5fdbfdaa
tree5e1f7609c949673e73a095d08d96831cfbb5799b
parent2c75d74a4489a670d3e7dc274a0b233a3c2c1382
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: cf7f7efa6a02 ("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>
mm/rodata_test.c