Re: [U-Boot] [PATCH] common: Use command_ret_t enum values instead of values

2018-06-05 Thread Michal Simek
On 4.6.2018 21:22, Heinrich Schuchardt wrote: > On 06/04/2018 01:37 PM, Michal Simek wrote: >> Use enum command_ret_t types in cmd_process_error(). >> Also handle USAGE failure separately. >> >> Signed-off-by: Michal Simek >> --- >> >> common/command.c | 7 +-- >> 1 file changed, 5

Re: [U-Boot] [PATCH] common: Use command_ret_t enum values instead of values

2018-06-04 Thread Heinrich Schuchardt
On 06/04/2018 01:37 PM, Michal Simek wrote: > Use enum command_ret_t types in cmd_process_error(). > Also handle USAGE failure separately. > > Signed-off-by: Michal Simek > --- > > common/command.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git

[U-Boot] [PATCH] common: Use command_ret_t enum values instead of values

2018-06-04 Thread Michal Simek
Use enum command_ret_t types in cmd_process_error(). Also handle USAGE failure separately. Signed-off-by: Michal Simek --- common/command.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/common/command.c b/common/command.c index 52d47c133c3c..2433a89e0a8e 100644 ---