]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sandbox: Correct error handling in state_read_file()
authorSimon Glass <sjg@chromium.org>
Mon, 4 May 2015 17:31:07 +0000 (11:31 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:39:39 +0000 (22:39 +0200)
commit95ffe4176096a842334c8118c4bd41180b7f3443
tree467c4027400968697f1d089f1f1f5fcb6d1c86fa
parent0b5da399c62f3099f1ef2fb2e77d45e336f927c3
sandbox: Correct error handling in state_read_file()

This function should return a useful error for U-Boot, rather than -1.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
arch/sandbox/cpu/state.c