mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
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>
This commit is contained in:
parent
e44d2f5df9
commit
4550ce9be0
4 changed files with 8 additions and 8 deletions
|
@ -63,7 +63,7 @@ static int fit_image_process_hash(void *fit, const char *image_name,
|
|||
uint8_t value[FIT_MAX_HASH_LEN];
|
||||
const char *node_name;
|
||||
int value_len;
|
||||
char *algo;
|
||||
const char *algo;
|
||||
int ret;
|
||||
|
||||
node_name = fit_get_name(fit, noffset, NULL);
|
||||
|
@ -160,7 +160,7 @@ static int fit_image_setup_sig(struct image_sign_info *info,
|
|||
const char *engine_id)
|
||||
{
|
||||
const char *node_name;
|
||||
char *algo_name;
|
||||
const char *algo_name;
|
||||
const char *padding_name;
|
||||
|
||||
node_name = fit_get_name(fit, noffset, NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue