Re: [PATCH v4 23/24] integrity/powerpc: Improve error handling & reporting when loading certs
From: Mimi Zohar
Date: Tue Jan 24 2023 - 10:42:54 EST
On Fri, 2023-01-20 at 18:43 +1100, Andrew Donnellan wrote:
> From: Russell Currey <ruscur@xxxxxxxxxx>
>
> A few improvements to load_powerpc.c:
>
> - include integrity.h for the pr_fmt()
> - move all error reporting out of get_cert_list()
> - use ERR_PTR() to better preserve error detail
> - don't use pr_err() for missing keys
>
> Signed-off-by: Russell Currey <ruscur@xxxxxxxxxx>
> Signed-off-by: Andrew Donnellan <ajd@xxxxxxxxxxxxx>
Thanks,
Reviewed-by: Mimi Zohar <zohar@xxxxxxxxxxxxx>