[PATCH v3 1/2] tools: mkimage: don't print error message "Success" in case of failure

Simon Glass sjg at chromium.org
Sun Dec 4 22:17:09 CET 2022


On Thu, 24 Nov 2022 at 00:55, Marc Kleine-Budde <mkl at pengutronix.de> wrote:
>
> In case there's no struct image_type_params::set_header callback, no
> "errno" will be set. Don't fail with an error message, followed by
> "Success". Remove the printing of the human readable "errno" value.
>
> Signed-off-by: Marc Kleine-Budde <mkl at pengutronix.de>
> ---
>  tools/mkimage.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list