* [PATCH] blspec: fix documention of blspec_scan_directory's return code
@ 2013-11-08 0:13 Uwe Kleine-König
2013-11-08 14:28 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2013-11-08 0:13 UTC (permalink / raw)
To: barebox
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
common/blspec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/common/blspec.c b/common/blspec.c
index 095809b..2244d5a 100644
--- a/common/blspec.c
+++ b/common/blspec.c
@@ -135,8 +135,7 @@ static int blspec_have_entry(struct blspec *blspec, const char *path)
*
* Given a root path collects all blspec entries found under /blspec/entries/.
*
- * returns 0 if at least one entry could be successfully loaded, negative
- * error value otherwise.
+ * returns the number of entries found or a negative error value otherwise.
*/
int blspec_scan_directory(struct blspec *blspec, const char *root)
{
--
1.8.4.rc3
_______________________________________________
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] blspec: fix documention of blspec_scan_directory's return code
2013-11-08 0:13 [PATCH] blspec: fix documention of blspec_scan_directory's return code Uwe Kleine-König
@ 2013-11-08 14:28 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2013-11-08 14:28 UTC (permalink / raw)
To: Uwe Kleine-König; +Cc: barebox
On Fri, Nov 08, 2013 at 01:13:12AM +0100, Uwe Kleine-König wrote:
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Applied, thanks
Sascha
> ---
> common/blspec.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/common/blspec.c b/common/blspec.c
> index 095809b..2244d5a 100644
> --- a/common/blspec.c
> +++ b/common/blspec.c
> @@ -135,8 +135,7 @@ static int blspec_have_entry(struct blspec *blspec, const char *path)
> *
> * Given a root path collects all blspec entries found under /blspec/entries/.
> *
> - * returns 0 if at least one entry could be successfully loaded, negative
> - * error value otherwise.
> + * returns the number of entries found or a negative error value otherwise.
> */
> int blspec_scan_directory(struct blspec *blspec, const char *root)
> {
> --
> 1.8.4.rc3
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
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:[~2013-11-08 14:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-08 0:13 [PATCH] blspec: fix documention of blspec_scan_directory's return code Uwe Kleine-König
2013-11-08 14:28 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox