[U-Boot] [PATCH v2 10/13] trace: Tidy up error returns

sjg at google.com sjg at google.com
Mon Apr 22 02:38:34 UTC 2019


At present many functions in this file return -1. Update them to return a
valid error code. Also tidy up the 'return' statements at the same time,
since these should have a blank line before them.

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

Changes in v2:
- Add new patch to tidy up error returns in trace.c

 lib/trace.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list