Skip to contentSkip to conversation

fixup! commands: clk_dump: use COMMAND_SUCCESS instead of 0 return code

PATCH In review Antony Pavlov 2 participants 2 messages Oct 22, 2015 – Oct 26, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fixup! commands: clk_dump: use COMMAND_SUCCESS instead of 0 return code

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(-)
commands/clk.c +1 -1
index 2bfdfdf..e9459a3 100644
@@ -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)
Signature · 7 lines
2.6.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw
Quoted 5 lines · Antony Pavlov

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

Quoted 23 lines

---
 commands/clk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
commands/clk.c +1 -1
index 2bfdfdf..e9459a3 100644
@@ -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)
Signature · 1 line
2.6.0
Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox