]> git.sur5r.net Git - u-boot/commit
fs: remove distractive message in fs_read()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 1 Jan 2018 20:15:37 +0000 (21:15 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 19 Jan 2018 20:49:28 +0000 (15:49 -0500)
commita327bde7838eab7de33b487e3190661fa24dec45
tree2585b9a18189370d9e5f99f70c363ea543237cea
parent3cf0061ab52359b14de2db512a1b03d30054e939
fs: remove distractive message in fs_read()

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@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
fs/fs.c