[U-Boot] [RFC PATCH 13/44] image: Move error! string to common place

Marek Vasut marex at denx.de
Sat Jan 5 09:11:54 CET 2013


Dear Simon Glass,

> The string " error\n" appears in each error string. Move it out to a
> common place.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>  common/image-fit.c |   16 ++++++++--------
>  1 files changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/common/image-fit.c b/common/image-fit.c
> index 4a78a5c..19942e2 100644
> --- a/common/image-fit.c
> +++ b/common/image-fit.c
> @@ -867,7 +867,7 @@ static int fit_image_check_hash(const void *fit, int
> noffset, const void *data, *err_msgp = NULL;
> 
>  	if (fit_image_hash_get_algo(fit, noffset, &algo)) {
> -		*err_msgp = " error!\nCan't get hash algo "
> +		*err_msgp = "Can't get hash algo "
>  				"property";

Maybe you can fix how the strings are broken here and all around in half now? 
Otherwise

Reviewed-by: Marek Vasut <marex at denx.de>

Best regards,
Marek Vasut


More information about the U-Boot mailing list