diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2022-01-14 12:21:17 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-01-24 18:35:10 +0300 |
commit | 4550ce9be01dcdf451d74b0f6263d0c43e1377f1 (patch) | |
tree | b3d5e1a4de3c1898ed87740dadf68063f89d3376 /include/image.h | |
parent | e44d2f5df9baa9b604df4eaa4d42f89657170598 (diff) | |
download | u-boot-4550ce9be01dcdf451d74b0f6263d0c43e1377f1.tar.xz |
image-fit: Make string of algo parameter constant
Modifications would be invalid.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/image.h')
-rw-r--r-- | include/image.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.h b/include/image.h index 1cdc70faee..7be6f11f61 100644 --- a/include/image.h +++ b/include/image.h @@ -1011,7 +1011,7 @@ int fit_image_get_data_size_unciphered(const void *fit, int noffset, int fit_image_get_data_and_size(const void *fit, int noffset, const void **data, size_t *size); -int fit_image_hash_get_algo(const void *fit, int noffset, char **algo); +int fit_image_hash_get_algo(const void *fit, int noffset, const char **algo); int fit_image_hash_get_value(const void *fit, int noffset, uint8_t **value, int *value_len); |