]> git.baikalelectronics.ru Git - uboot.git/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)
commitf62dd613f78f1022d582cf020d8425aec12b8577
tree2585b9a18189370d9e5f99f70c363ea543237cea
parentbab70dbcfda029e1a11776effbd0f7def556c10e
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