Skip to contentSkip to conversation

SPL ext: cosmetic: correct error message in spl_load_image_ext()

PATCH New Petr Kulhavy 2 participants 2 messages Jun 18, 2016 – Jun 19, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 SPL ext: cosmetic: correct error message in spl_load_image_ext()

Correct the error message in spl_load_image_ext() when image parsing fails. Instead of "ext4fs_read failed" print "failed to parse image header".

CC Guillaume GARDET <[email protected]>
CC Tom Rini <[email protected]>
---
 common/spl/spl_ext.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
common/spl/spl_ext.c +1 -1
index ade5496..11931d3 100644
@@ -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: ext: failed to parse image header\n");
 		goto end;
 	}
 
Signature · 1 line
2.5.0
#1 lore raw

PATCH v2 1/1 SPL ext: cosmetic: correct error message in spl_load_image_ext()

Quoted 7 lines · Petr Kulhavy

Correct the error message in spl_load_image_ext() when image parsing fails. Instead of "ext4fs_read failed" print "failed to parse image header".

CC Guillaume GARDET <[email protected]>
CC Tom Rini <[email protected]>

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160619/53411776/attachment.sig>