diff options
author | Russell Currey <ruscur@russell.cc> | 2023-02-10 19:04:00 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-02-13 22:34:44 +1100 |
commit | 3c8069b0c3832674abd80a5cf019c913e62de9a5 (patch) | |
tree | 29f30de5bbf54dccce6cb2f4c6e31085da05591f /.clang-format | |
parent | ccadf154cb00b9ee9618d209aa3efc54b35a34b4 (diff) |
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 '.clang-format')
0 files changed, 0 insertions, 0 deletions