
16 Aug
2017
16 Aug
'17
3:55 p.m.
On Thu, Aug 03, 2017 at 12:22:17PM -0600, Simon Glass wrote:
The load() methods have inconsistent behaviour on error. Some of them load an empty default environment. Some load an environment containing an error message. Others do nothing.
As a step in the right direction, have the method return an error code. Then the caller could handle this itself in a consistent way.
Signed-off-by: Simon Glass sjg@chromium.org
Applied to u-boot/master, thanks!
--
Tom