Re: [PATCH] x86/mm/cpa: Warn if set_memory_XXcrypted() fails

From: Edgecombe, Rick P
Date: Wed Oct 25 2023 - 22:04:27 EST


On Wed, 2023-10-25 at 11:10 -0700, Kuppuswamy Sathyanarayanan wrote:
> Looks good to me.
>
> Reviewed-by: Kuppuswamy Sathyanarayanan
> <sathyanarayanan.kuppuswamy@xxxxxxxxxxxxxxx>
>

Thanks!

>
> IMO, you can avoid "out" label with (!ret && !x86_platform....)
> check. But it is upto
> you.

Hmm, yes it could. I think it's a little easier to read as is, but just
my opinion as well.