/openbmc/u-boot/env/ |
H A D | remote.c | diff c5951991942330c129f3b181e94969d7c01e9abb Thu Aug 03 13:22:17 CDT 2017 Simon Glass <sjg@chromium.org> env: Adjust the load() method to return an error
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>
|
H A D | onenand.c | diff c5951991942330c129f3b181e94969d7c01e9abb Thu Aug 03 13:22:17 CDT 2017 Simon Glass <sjg@chromium.org> env: Adjust the load() method to return an error
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>
|
H A D | flash.c | diff c5951991942330c129f3b181e94969d7c01e9abb Thu Aug 03 13:22:17 CDT 2017 Simon Glass <sjg@chromium.org> env: Adjust the load() method to return an error
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>
|
H A D | nvram.c | diff c5951991942330c129f3b181e94969d7c01e9abb Thu Aug 03 13:22:17 CDT 2017 Simon Glass <sjg@chromium.org> env: Adjust the load() method to return an error
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>
|
H A D | sata.c | diff c5951991942330c129f3b181e94969d7c01e9abb Thu Aug 03 13:22:17 CDT 2017 Simon Glass <sjg@chromium.org> env: Adjust the load() method to return an error
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>
|
H A D | ubi.c | diff c5951991942330c129f3b181e94969d7c01e9abb Thu Aug 03 13:22:17 CDT 2017 Simon Glass <sjg@chromium.org> env: Adjust the load() method to return an error
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>
|
H A D | nand.c | diff c5951991942330c129f3b181e94969d7c01e9abb Thu Aug 03 13:22:17 CDT 2017 Simon Glass <sjg@chromium.org> env: Adjust the load() method to return an error
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>
|
H A D | eeprom.c | diff c5951991942330c129f3b181e94969d7c01e9abb Thu Aug 03 13:22:17 CDT 2017 Simon Glass <sjg@chromium.org> env: Adjust the load() method to return an error
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>
|
H A D | ext4.c | diff c5951991942330c129f3b181e94969d7c01e9abb Thu Aug 03 13:22:17 CDT 2017 Simon Glass <sjg@chromium.org> env: Adjust the load() method to return an error
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>
|
H A D | fat.c | diff c5951991942330c129f3b181e94969d7c01e9abb Thu Aug 03 13:22:17 CDT 2017 Simon Glass <sjg@chromium.org> env: Adjust the load() method to return an error
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>
|
H A D | mmc.c | diff c5951991942330c129f3b181e94969d7c01e9abb Thu Aug 03 13:22:17 CDT 2017 Simon Glass <sjg@chromium.org> env: Adjust the load() method to return an error
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>
|
H A D | sf.c | diff c5951991942330c129f3b181e94969d7c01e9abb Thu Aug 03 13:22:17 CDT 2017 Simon Glass <sjg@chromium.org> env: Adjust the load() method to return an error
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>
|
/openbmc/u-boot/include/ |
H A D | environment.h | diff c5951991942330c129f3b181e94969d7c01e9abb Thu Aug 03 13:22:17 CDT 2017 Simon Glass <sjg@chromium.org> env: Adjust the load() method to return an error
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>
|