Skip to content

Commit

Permalink
kexec: Fix file verification on S390
Browse files Browse the repository at this point in the history
I accidentally typoed this #ifdef, so verification would always be
disabled.

Signed-off-by: Matthew Garrett <[email protected]>
Reported-by: Philipp Rudo <[email protected]>
Signed-off-by: James Morris <[email protected]>
  • Loading branch information
Matthew Garrett authored and James Morris committed Sep 10, 2019
1 parent f8a9bc6 commit 45893a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/s390/kernel/kexec_elf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
};

0 comments on commit 45893a0

Please sign in to comment.