Re: [PATCH v6 033/102] x86: Tidy up error handling in mrccache_save()

2019-12-07 Thread Bin Meng
On Sat, Dec 7, 2019 at 12:48 PM Simon Glass 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:

[PATCH v6 033/102] x86: Tidy up error handling in mrccache_save()

2019-12-06 Thread Simon Glass
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 Reviewed-by: Bin Meng --- Changes in v6: None Changes