[U-Boot] [PATCH 08/10] i2c: Correct command return values
Simon Glass
sjg at chromium.org
Sat Jan 16 02:25:56 CET 2016
On 4 January 2016 at 00:08, Heiko Schocher <hs at denx.de> wrote:
> Hello Simon,
>
> Am 29.12.2015 um 13:22 schrieb Simon Glass:
>>
>> We should not return a -ve error code from command functions. Instead,
>> return CMD_RET_FAILURE. This avoids the "exit not allowed from main input
>> shell" error messages from the hush shell.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> ---
>>
>> common/cmd_i2c.c | 6 ++++--
>> 1 file changed, 4 insertions(+), 2 deletions(-)
>
>
> Thanks! As it is in a patchserie:
>
> Acked-by: Heiko Schocher <hs at denx.de>
>
Applied to u-boot-dm!
More information about the U-Boot
mailing list