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)
commite286f231eab410793f3e91c924e6dbd23edee05a
tree7caed77f92188b718898287e2e7313f5028d2483
parent72fc40931d7a488e1646d04f988f4d5a97b02100
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: 90c5318795ee ("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