]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
kexec: Fix file verification on S390
authorMatthew Garrett <matthewgarrett@google.com>
Tue, 10 Sep 2019 10:03:18 +0000 (03:03 -0700)
committerJames Morris <jmorris@namei.org>
Tue, 10 Sep 2019 12:27:51 +0000 (13:27 +0100)
I accidentally typoed this #ifdef, so verification would always be
disabled.

Signed-off-by: Matthew Garrett <mjg59@google.com>
Reported-by: Philipp Rudo <prudo@linux.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
arch/s390/kernel/kexec_elf.c

index 9b4f37a4edf173e2a5fab2f8498ed147c5dd84af..9da6fa30c44749fd7f4b044f5d211f7cd25d2b33 100644 (file)
@@ -130,7 +130,7 @@ static int s390_elf_probe(const char *buf, unsigned long len)
 const struct kexec_file_ops s390_kexec_elf_ops = {
        .probe = s390_elf_probe,
        .load = s390_elf_load,
-#ifdef CONFIG_KEXEC__SIG
+#ifdef CONFIG_KEXEC_SIG
        .verify_sig = s390_verify_sig,
 #endif /* CONFIG_KEXEC_SIG */
 };