All of lore.kernel.org
 help / color / mirror / Atom feed
From: Angelo Dureghello <angelo.dureghello@timesys.com>
To: trini@konsulko.com
Cc: u-boot@lists.denx.de, Angelo Dureghello <angelo.dureghello@timesys.com>
Subject: [PATCH] fit: display proper node on error
Date: Wed,  6 Oct 2021 17:47:17 +0200	[thread overview]
Message-ID: <20211006154717.1130245-1-angelo.dureghello@timesys.com> (raw)

Fix final error message from

Verification failed for '<NULL>' hash node in 'conf@1' config node

to

Verification failed for 'signature@1' hash node in 'conf@1' config node

Signed-off-by: Angelo Dureghello <angelo.dureghello@timesys.com>
---
 common/image-fit-sig.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/image-fit-sig.c b/common/image-fit-sig.c
index b979cd2a4b..4f2a6ef214 100644
--- a/common/image-fit-sig.c
+++ b/common/image-fit-sig.c
@@ -166,8 +166,8 @@ static int fit_image_verify_sig(const void *fit, int image_noffset,
 			} else {
 				puts("+ ");
 				verified = 1;
-				break;
 			}
+			break;
 		}
 	}
 
-- 
2.32.0


             reply	other threads:[~2021-10-06 15:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-06 15:47 Angelo Dureghello [this message]
2021-10-06 16:00 ` [PATCH] fit: display proper node on error Alex G.
2021-10-24 19:53   ` Simon Glass
2021-10-25 21:09     ` Angelo Dureghello
2022-03-12  2:24       ` Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211006154717.1130245-1-angelo.dureghello@timesys.com \
    --to=angelo.dureghello@timesys.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.