From: Antony Pavlov <antonynpavlov@gmail.com>
To: barebox@lists.infradead.org
Subject: [PATCH 3/3] commands: clk_dump: use COMMAND_SUCCESS instead of 0 return code
Date: Thu, 22 Oct 2015 08:45:27 +0300 [thread overview]
Message-ID: <1445492727-905-4-git-send-email-antonynpavlov@gmail.com> (raw)
In-Reply-To: <1445492727-905-1-git-send-email-antonynpavlov@gmail.com>
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
commands/clk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commands/clk.c b/commands/clk.c
index 469d9b3..2bfdfdf 100644
--- a/commands/clk.c
+++ b/commands/clk.c
@@ -149,7 +149,7 @@ static int do_clk_dump(int argc, char *argv[])
clk_dump(verbose);
- return 0;
+ return COMMAND_SUCCESS;
}
BAREBOX_CMD_HELP_START(clk_dump)
--
2.6.0
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2015-10-22 5:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-22 5:45 [PATCH 0/3] misc clk-related changes Antony Pavlov
2015-10-22 5:45 ` [PATCH 1/3] commands: add clk_get_rate command Antony Pavlov
2015-10-22 5:45 ` [PATCH 2/3] clock.h: include <types.h> under guard macro Antony Pavlov
2015-10-22 5:45 ` Antony Pavlov [this message]
2015-10-22 7:34 ` [PATCH 0/3] misc clk-related changes Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1445492727-905-4-git-send-email-antonynpavlov@gmail.com \
--to=antonynpavlov@gmail.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox