]> git.baikalelectronics.ru Git - kernel.git/commit
kexec: clean up arch_kexec_kernel_verify_sig
authorCoiby Xu <coxu@redhat.com>
Thu, 14 Jul 2022 13:40:24 +0000 (21:40 +0800)
committerMimi Zohar <zohar@linux.ibm.com>
Fri, 15 Jul 2022 16:21:16 +0000 (12:21 -0400)
commit9177ee9cd2b490ff09ce240e7342fecfaba70b0f
tree24c5d7cff36b8c11f42f1c92c8a729d2bf34e096
parent763ce5906c13b17f7ed25a2b6bb9d4a5661d6573
kexec: clean up arch_kexec_kernel_verify_sig

Before commit 105e10e2cf1c ("kexec_file: drop weak attribute from
functions"), there was already no arch-specific implementation
of arch_kexec_kernel_verify_sig. With weak attribute dropped by that
commit, arch_kexec_kernel_verify_sig is completely useless. So clean it
up.

Note later patches are dependent on this patch so it should be backported
to the stable tree as well.

Cc: stable@vger.kernel.org
Suggested-by: Eric W. Biederman <ebiederm@xmission.com>
Reviewed-by: Michal Suchanek <msuchanek@suse.de>
Acked-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Coiby Xu <coxu@redhat.com>
[zohar@linux.ibm.com: reworded patch description "Note"]
Link: https://lore.kernel.org/linux-integrity/20220714134027.394370-1-coxu@redhat.com/
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
include/linux/kexec.h
kernel/kexec_file.c