mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
Remove confusing NULL from error message
If no signature could be verified and the loop terminates, the iterator 'noffset' has no meaningful value so name yields NULL. Signed-off-by: Ludwig Nussel <ludwig.nussel@siemens.com>
This commit is contained in:
@@ -593,9 +593,8 @@ static int fit_config_verify_key(const void *fit, int conf_noffset,
|
||||
return 0;
|
||||
|
||||
error:
|
||||
printf(" error!\n%s for '%s' hash node in '%s' config node\n",
|
||||
err_msg, fit_get_name(fit, noffset, NULL),
|
||||
fit_get_name(fit, conf_noffset, NULL));
|
||||
printf(" error!\n%s for '%s' config node\n",
|
||||
err_msg, fit_get_name(fit, conf_noffset, NULL));
|
||||
return -EPERM;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user