From: Tom Rini Date: Fri, 17 Jun 2016 10:43:37 -0400 Subject: [U-Boot] [PATCH] SPL ext: cosmetic: correct error message in spl_load_image_ext() In-Reply-To: <1465897496-21879-1-git-send-email-brain@jikos.cz> References: <1465897496-21879-1-git-send-email-brain@jikos.cz> Message-ID: <20160617144337.GZ11619@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jun 14, 2016 at 11:44:56AM +0200, Petr Kulhavy wrote: > Correct the error message in spl_load_image_ext() when image parsing > fails. Instead of "ext4fs_read failed" print "failed to parse image > header". > > Signed-off-by: Petr Kulhavy > CC: Guillaume GARDET > --- > common/spl/spl_ext.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/common/spl/spl_ext.c b/common/spl/spl_ext.c > index ade5496..074b31e 100644 > --- a/common/spl/spl_ext.c > +++ b/common/spl/spl_ext.c > @@ -50,7 +50,7 @@ int spl_load_image_ext(struct blk_desc *block_dev, > > err = spl_parse_image_header(header); > if (err < 0) { > - puts("spl: ext4fs_read failed\n"); > + puts("spl: failed to parse image header\n"); Can you please make this: "spl: ext: failed to parse image header" so that when encountered someone knows it's in the ext path? Thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: