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

Simon Glass sjg at chromium.org
Mon Oct 31 20:27:10 CET 2022


On Mon, 31 Oct 2022 at 08:51, 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