
8 Dec
2019
8 Dec
'19
4:02 a.m.
On Sat, Dec 7, 2019 at 12:48 PM Simon Glass sjg@chromium.org wrote:
This function is a bit confusing at present due to the error handling. Update it to remove the goto, returning errors as they happen.
While we are here, use hex for the data size since this is the norm in U-Boot.
Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Bin Meng bmeng.cn@gmail.com
Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3:
- Move an additional error handling fix from a future patch
Changes in v2: None
arch/x86/lib/mrccache.c | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-)
applied to u-boot-x86/next, thanks!