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

2018-01-03 Thread Simon Glass
On 1 January 2018 at 13:15, 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

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

2018-01-01 Thread Heinrich Schuchardt
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 --- fs/fs.c