Include <linux/secure_boot.h> so arch_get_secureboot() has a visible
prototype and -Wmissing-prototypes no longer triggers.
arch/s390/kernel/ipl.c:2507:6: warning: no previous prototype for
‘arch_get_secureboot’ [-Wmissing-prototypes]
2507 | bool arch_get_secureboot(void)
| ^~~~~~~~~~~~~~~~~~~
Fixes: 63e8a44395a4 ("integrity: Make arch_ima_get_secureboot integrity-wide")
Signed-off-by: Vasily Gorbik <[email protected]>
---
arch/s390/kernel/ipl.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c
index bdbbedf52580..2d01a1713938 100644
--- a/arch/s390/kernel/ipl.c
+++ b/arch/s390/kernel/ipl.c
@@ -21,6 +21,7 @@
#include <linux/crash_dump.h>
#include <linux/debug_locks.h>
#include <linux/vmalloc.h>
+#include <linux/secure_boot.h>
#include <asm/asm-extable.h>
#include <asm/machine.h>
#include <asm/diag.h>
--
2.53.0