Commit 546ea288 authored by Pierre-Clément Tosi's avatar Pierre-Clément Tosi Committed by Will Deacon
Browse files

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: default avatarPierre-Clément Tosi <ptosi@google.com>
Acked-by: default avatarWill Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20240610063244.2828978-6-ptosi@google.com


Signed-off-by: default avatarOliver Upton <oliver.upton@linux.dev>
parent 57d9ce55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment