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

Simon Glass sjg at chromium.org
Wed Jan 3 16:42:19 UTC 2018


On 1 January 2018 at 13:15, Heinrich Schuchardt <xypron.glpk at gmx.de> 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>
> ---
>  fs/fs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list