Re: [PATCH v4 23/24] integrity/powerpc: Improve error handling & reporting when loading certs

Mimi Zohar
2023-01-24T15:42:54Z

On Fri, 2023-01-20 at 18:43 +1100, Andrew Donnellan wrote:
> From: Russell Currey <ruscur@russell.cc>
>
> 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@russell.cc>
> Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>

Thanks,

Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>