FROMGIT: KVM: arm64: VHE: Mark __hyp_call_panic __noreturn
Given that the sole purpose of __hyp_call_panic() is to call panic(), a __noreturn function, give it the __noreturn attribute, removing the need for its caller to use unreachable(). Bug: 278010198 Bug: 278749606 (cherry picked from commit 3c6eb648 https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git ) Change-Id: I5b4cda93d2ea5f11391989bc5f55e79de77ed104 Signed-off-by:Pierre-Clément Tosi <ptosi@google.com> Acked-by:
Will Deacon <will@kernel.org> Link: https://lore.kernel.org/r/20240610063244.2828978-6-ptosi@google.com Signed-off-by:
Oliver Upton <oliver.upton@linux.dev>
Loading
Please sign in to comment