diff options
| author | Igor Opaniuk <[email protected]> | 2024-02-09 20:20:43 +0100 |
|---|---|---|
| committer | Mattijs Korpershoek <[email protected]> | 2024-02-15 10:38:34 +0100 |
| commit | fc7ef0f9e780ed45305002609cf920647787bc79 (patch) | |
| tree | e374d3b9d836d6f4e504c27821be01438d16e621 /include | |
| parent | 0ef0825a8cbbaf7d96a949840a5b4febf60fcebd (diff) | |
common: avb_verify: add str_avb_io_error/str_avb_slot_error
Introduce str_avb_io_error() and str_avb_slot_error() functions,
that provide a pointer to AVB runtime error message.
Reviewed-by: Mattijs Korpershoek <[email protected]>
Signed-off-by: Igor Opaniuk <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/avb_verify.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/avb_verify.h b/include/avb_verify.h index 2fb850044d9..5d998b5a302 100644 --- a/include/avb_verify.h +++ b/include/avb_verify.h @@ -52,7 +52,8 @@ char *avb_set_enforce_verity(const char *cmdline); char *avb_set_ignore_corruption(const char *cmdline); char *append_cmd_line(char *cmdline_orig, char *cmdline_new); - +const char *str_avb_io_error(AvbIOResult res); +const char *str_avb_slot_error(AvbSlotVerifyResult res); /** * ============================================================================ * I/O helper inline functions |
