]> git.dujemihanovic.xyz Git - u-boot.git/commit
trace: Tidy up error returns
authorSimon Glass <sjg@chromium.org>
Mon, 8 Apr 2019 19:20:50 +0000 (13:20 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 24 Apr 2019 02:26:43 +0000 (20:26 -0600)
commitf564d09608f422d4584ae7416d9da040a89ebee3
tree76b7e2438517b1f8bef4f45340d584f604d86b28
parentf611a46ef1dc70bbbf013d0c33978d1204aeabc5
trace: Tidy up error returns

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@chromium.org>
lib/trace.c