]> git.baikalelectronics.ru Git - kernel.git/commit
s390/module: fix building test_modules_helpers.o with clang
authorIlya Leoshkevich <iii@linux.ibm.com>
Mon, 31 Jan 2022 13:17:11 +0000 (14:17 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Sun, 6 Feb 2022 22:30:37 +0000 (23:30 +0100)
commit453ff90c50f113e4d3c4f1e9eb695d396a5c50b5
tree7caed77f92188b718898287e2e7313f5028d2483
parent810c2434fa8a48167e340ddf2ae80739a49ac8fc
s390/module: fix building test_modules_helpers.o with clang

Move test_modules_return_* prototypes into a header file in order to
placate -Wmissing-prototypes.

Fixes: a2cac37245ee ("s390/module: test loading modules with a lot of relocations")
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/lib/test_modules.c
arch/s390/lib/test_modules.h