Re: [PATCH] of: property: fix error message

2013-04-25 Thread Sascha Hauer
On Thu, Apr 25, 2013 at 05:12:22PM +0200, Steffen Trumtrar wrote:
> At least in standard oxford english one not is enough.

:)

Applied, thanks

Sascha

> 
> Signed-off-by: Steffen Trumtrar 
> ---
>  commands/of_property.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/commands/of_property.c b/commands/of_property.c
> index 6311b70..44bb388 100644
> --- a/commands/of_property.c
> +++ b/commands/of_property.c
> @@ -62,7 +62,7 @@ static int of_parse_prop_cells(char * const *newval, int 
> count, char *data, int
>  
>   /* If the ptr didn't advance, something went wrong */
>   if ((newp - cp) <= 0) {
> - printf("cannot not convert \"%s\"\n", cp);
> + printf("cannot convert \"%s\"\n", cp);
>   return -EINVAL;
>   }
>  
> @@ -105,7 +105,7 @@ static int of_parse_prop_stream(char * const *newval, int 
> count, char *data, int
>  
>   /* If the ptr didn't advance, something went wrong */
>   if ((newp - cp) <= 0) {
> - printf("cannot not convert \"%s\"\n", cp);
> + printf("cannot convert \"%s\"\n", cp);
>   return -EINVAL;
>   }
>   }
> -- 
> 1.8.2.rc2
> 
> 
> ___
> 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- |

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


[PATCH] of: property: fix error message

2013-04-25 Thread Steffen Trumtrar
At least in standard oxford english one not is enough.

Signed-off-by: Steffen Trumtrar 
---
 commands/of_property.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/commands/of_property.c b/commands/of_property.c
index 6311b70..44bb388 100644
--- a/commands/of_property.c
+++ b/commands/of_property.c
@@ -62,7 +62,7 @@ static int of_parse_prop_cells(char * const *newval, int 
count, char *data, int
 
/* If the ptr didn't advance, something went wrong */
if ((newp - cp) <= 0) {
-   printf("cannot not convert \"%s\"\n", cp);
+   printf("cannot convert \"%s\"\n", cp);
return -EINVAL;
}
 
@@ -105,7 +105,7 @@ static int of_parse_prop_stream(char * const *newval, int 
count, char *data, int
 
/* If the ptr didn't advance, something went wrong */
if ((newp - cp) <= 0) {
-   printf("cannot not convert \"%s\"\n", cp);
+   printf("cannot convert \"%s\"\n", cp);
return -EINVAL;
}
}
-- 
1.8.2.rc2


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