[U-Boot] [U-Boot, 1/1] fs: remove distractive message in fs_read()

Tom Rini trini at konsulko.com
Fri Jan 19 21:13:43 UTC 2018


On Mon, Jan 01, 2018 at 09:15:37PM +0100, Heinrich Schuchardt wrote:

> The message
> "** %s shorter than offset + len **\n"
> may be interesting when debugging but it does not indicate an
> error.
> 
> So we should not write it if we are not in debug mode.
> 
> Fixes: 7a3e70cfd88c fs/fs.c: read up to EOF when len would read past EOF
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180119/ff307532/attachment.sig>


More information about the U-Boot mailing list