[PATCH v4 07/13] KVM: arm64: VHE: Mark __hyp_call_panic __noreturn
Will Deacon
will at kernel.org
Mon Jun 3 07:36:33 PDT 2024
On Wed, May 29, 2024 at 01:12:13PM +0100, Pierre-Clément Tosi wrote:
> 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().
>
> Signed-off-by: Pierre-Clément Tosi <ptosi at google.com>
> ---
> arch/arm64/kvm/hyp/vhe/switch.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
I acked this before. Please can you preserve the tags when a patch is
reposted without any changes?
Acked-by: Will Deacon <will at kernel.org>
Will
More information about the linux-arm-kernel
mailing list