diff options
author | Russell Currey <ruscur@russell.cc> | 2023-02-10 11:04:00 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-02-13 14:34:44 +0300 |
commit | 3c8069b0c3832674abd80a5cf019c913e62de9a5 (patch) | |
tree | 29f30de5bbf54dccce6cb2f4c6e31085da05591f /lib | |
parent | ccadf154cb00b9ee9618d209aa3efc54b35a34b4 (diff) | |
download | linux-3c8069b0c3832674abd80a5cf019c913e62de9a5.tar.xz |
integrity/powerpc: Improve error handling & reporting when loading certs
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
Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>
Signed-off-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230210080401.345462-26-ajd@linux.ibm.com
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions