diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2017-05-09 11:01:26 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-06-12 16:25:55 +0200 |
commit | 92acfb7406171038ae4e3b6041576642cb75b529 (patch) | |
tree | 6f9a5bef314a657f13716a25f9200276405923ae /arch/s390/crypto | |
parent | s390/mm: implement 5 level pages tables (diff) | |
download | linux-92acfb7406171038ae4e3b6041576642cb75b529.tar.xz linux-92acfb7406171038ae4e3b6041576642cb75b529.zip |
s390: add missing header includes for type checking
Add missing include statements to make sure that prototypes match
implementation. As reported by sparse:
arch/s390/crypto/arch_random.c:18:1:
warning: symbol 's390_arch_random_available' was not declared. Should it be static?
arch/s390/kernel/traps.c:279:13: warning:
symbol 'trap_init' was not declared. Should it be static?
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/crypto')
-rw-r--r-- | arch/s390/crypto/arch_random.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/crypto/arch_random.c b/arch/s390/crypto/arch_random.c index 9317b3e645e2..36aefc07d10c 100644 --- a/arch/s390/crypto/arch_random.c +++ b/arch/s390/crypto/arch_random.c @@ -12,6 +12,7 @@ #include <linux/kernel.h> #include <linux/atomic.h> +#include <linux/random.h> #include <linux/static_key.h> #include <asm/cpacf.h> |