mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fixup! commands: clk_dump: use COMMAND_SUCCESS instead of 0 return code
@ 2015-10-22  8:20 Antony Pavlov
  2015-10-26  7:20 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Antony Pavlov @ 2015-10-22  8:20 UTC (permalink / raw)
  To: barebox

Sorry, I have missed that occurence.
So we can change original patch subject line to


  commands: clk: use COMMAND_SUCCESS instead of 0


---
 commands/clk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/clk.c b/commands/clk.c
index 2bfdfdf..e9459a3 100644
--- a/commands/clk.c
+++ b/commands/clk.c
@@ -40,7 +40,7 @@ static int do_clk_disable(int argc, char *argv[])
 
 	clk_disable(clk);
 
-	return 0;
+	return COMMAND_SUCCESS;
 }
 
 BAREBOX_CMD_START(clk_disable)
-- 
2.6.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] fixup! commands: clk_dump: use COMMAND_SUCCESS instead of 0 return code
  2015-10-22  8:20 [PATCH] fixup! commands: clk_dump: use COMMAND_SUCCESS instead of 0 return code Antony Pavlov
@ 2015-10-26  7:20 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2015-10-26  7:20 UTC (permalink / raw)
  To: Antony Pavlov; +Cc: barebox

On Thu, Oct 22, 2015 at 11:20:38AM +0300, Antony Pavlov wrote:
> Sorry, I have missed that occurence.
> So we can change original patch subject line to
> 
> 
>   commands: clk: use COMMAND_SUCCESS instead of 0

Did that.

Sascha

> 
> 
> ---
>  commands/clk.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/commands/clk.c b/commands/clk.c
> index 2bfdfdf..e9459a3 100644
> --- a/commands/clk.c
> +++ b/commands/clk.c
> @@ -40,7 +40,7 @@ static int do_clk_disable(int argc, char *argv[])
>  
>  	clk_disable(clk);
>  
> -	return 0;
> +	return COMMAND_SUCCESS;
>  }
>  
>  BAREBOX_CMD_START(clk_disable)
> -- 
> 2.6.0
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-26  7:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-22  8:20 [PATCH] fixup! commands: clk_dump: use COMMAND_SUCCESS instead of 0 return code Antony Pavlov
2015-10-26  7:20 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox