
26 Jul
2017
26 Jul
'17
6:15 p.m.
On Sun, Jul 23, 2017 at 09:20:09PM -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
Reviewed-by: Tom Rini trini@konsulko.com
--
Tom