On 30 May 2018 at 14:10, Ramon Fried <ramon.fr...@gmail.com> wrote: > Don't continue updating the offset when buffer is full. > When the buffer size exhausts and there's no space left to write > warn the user and update only the needed size and not both the > offset and needed size. > > Add needed buffer size information in the iotrace command. > > Signed-off-by: Ramon Fried <ramon.fr...@gmail.com> > > --- > > Changes in v4: None > Changes in v3: > - fixed wrong usage of WARN_ONCE > > Changes in v2: > - introduced needed_size to notify the user about the needed buffer size. > > Changes in v1: None > > cmd/iotrace.c | 11 ++++++----- > common/iotrace.c | 13 +++++++++++-- > include/iotrace.h | 5 +++-- > 3 files changed, 20 insertions(+), 9 deletions(-) >
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot