Re: [PATCH] x86/mm/cpa: Warn if set_memory_XXcrypted() fails
From: Edgecombe, Rick P
Date: Thu Oct 26 2023 - 18:08:00 EST
On Thu, 2023-10-26 at 08:37 -0500, Tom Lendacky wrote:
> It might be even easier to read to just have:
>
> if (ret)
> return ret;
>
> if (!x86_platform...)
> goto vmm_fail
>
> return 0;
>
> since jumping to the out: label just does a return anyway.
Err, right. I'll change it.