Re: [PATCH] common: fix typos found with codespell

2020-03-23 Thread Sascha Hauer
On Fri, Mar 20, 2020 at 10:41:19AM +0100, yegorsli...@googlemail.com wrote:
> From: Yegor Yefremov 
> 
> Signed-off-by: Yegor Yefremov 
> ---
>  common/Kconfig|  4 ++--
>  common/bbu.c  |  2 +-
>  common/block.c|  2 +-
>  common/blspec.c   | 16 
>  common/boot.c |  2 +-
>  common/bootsource.c   |  4 ++--
>  common/clock.c|  2 +-
>  common/console_common.c   |  2 +-
>  common/dlmalloc.c | 12 ++--
>  common/efi-devicepath.c   |  2 +-
>  common/hush.c |  4 ++--
>  common/imx-bbu-nand-fcb.c |  4 ++--
>  common/memtest.c  |  2 +-
>  common/resource.c |  2 +-
>  common/serdev.c   |  6 +++---
>  common/state/state.c  |  2 +-
>  common/ubiformat.c|  2 +-
>  common/uimage.c   |  2 +-
>  18 files changed, 36 insertions(+), 36 deletions(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.   | |
Steuerwalder Str. 21   | http://www.pengutronix.de/  |
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


Re: [PATCH] libfile: fix typos

2019-09-06 Thread Sascha Hauer
On Wed, Sep 04, 2019 at 02:24:04PM +0200, Michael Tretter wrote:
> Signed-off-by: Michael Tretter 
> ---
>  lib/libfile.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks

Sascha

-- 
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] libfile: fix typos

2019-09-04 Thread Michael Tretter
Signed-off-by: Michael Tretter 
---
 lib/libfile.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/libfile.c b/lib/libfile.c
index f6c588d737..3f3ec21fdb 100644
--- a/lib/libfile.c
+++ b/lib/libfile.c
@@ -242,9 +242,9 @@ EXPORT_SYMBOL(read_file_2);
  *
  * This function reads a file to an allocated buffer.
  * Some TFTP servers do not transfer the size of a file. In this case
- * a the file is first read to a temporary file.
+ * the file is first read to a temporary file.
  *
- * Return: The buffer conataining the file or NULL on failure
+ * Return: The buffer containing the file or NULL on failure
  */
 void *read_file(const char *filename, size_t *size)
 {
-- 
2.20.1


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


Re: [PATCH] docs: fix typos in memcmp help text

2016-11-21 Thread Sascha Hauer
On Sun, Nov 20, 2016 at 01:09:10AM +0100, Moritz Warning wrote:
> Signed-off-by: Moritz Warning 
> ---
>  commands/memcmp.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/commands/memcmp.c b/commands/memcmp.c
> index ce044df..7be0033 100644
> --- a/commands/memcmp.c
> +++ b/commands/memcmp.c
> @@ -130,8 +130,8 @@ out:
>  }
>  
>  BAREBOX_CMD_HELP_START(memcmp)
> -BAREBOX_CMD_HELP_TEXT("Compare memory regions specified with ADDR and ADDR2")
> -BAREBOX_CMD_HELP_TEXT("of size COUNT bytes. If source is a file COUNT can")
> +BAREBOX_CMD_HELP_TEXT("Compare memory regions specified with ADDR1 and 
> ADDR2")
> +BAREBOX_CMD_HELP_TEXT("of size COUNT bytes. If source is a file, COUNT can")
>  BAREBOX_CMD_HELP_TEXT("be left unspecified, in which case the whole file is")
>  BAREBOX_CMD_HELP_TEXT("compared.")
>  BAREBOX_CMD_HELP_TEXT("")
> -- 
> 2.10.2
> 
> 
> ___
> 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] docs: fix typos in memcmp help text

2016-11-19 Thread Moritz Warning
Signed-off-by: Moritz Warning 
---
 commands/memcmp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/commands/memcmp.c b/commands/memcmp.c
index ce044df..7be0033 100644
--- a/commands/memcmp.c
+++ b/commands/memcmp.c
@@ -130,8 +130,8 @@ out:
 }
 
 BAREBOX_CMD_HELP_START(memcmp)
-BAREBOX_CMD_HELP_TEXT("Compare memory regions specified with ADDR and ADDR2")
-BAREBOX_CMD_HELP_TEXT("of size COUNT bytes. If source is a file COUNT can")
+BAREBOX_CMD_HELP_TEXT("Compare memory regions specified with ADDR1 and ADDR2")
+BAREBOX_CMD_HELP_TEXT("of size COUNT bytes. If source is a file, COUNT can")
 BAREBOX_CMD_HELP_TEXT("be left unspecified, in which case the whole file is")
 BAREBOX_CMD_HELP_TEXT("compared.")
 BAREBOX_CMD_HELP_TEXT("")
-- 
2.10.2


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


Re: [PATCH] of: fix typos

2016-10-17 Thread Sascha Hauer
On Mon, Oct 17, 2016 at 02:57:58PM +0300, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov 
> ---
>  drivers/of/base.c | 2 +-
>  drivers/of/fdt.c  | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Applied, thanks

Sascha

-- 
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: fix typos

2016-10-17 Thread Antony Pavlov
Signed-off-by: Antony Pavlov 
---
 drivers/of/base.c | 2 +-
 drivers/of/fdt.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/of/base.c b/drivers/of/base.c
index 1e6c33d..767d4e1 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -1631,7 +1631,7 @@ struct device_node *of_get_next_available_child(const 
struct device_node *node,
 EXPORT_SYMBOL(of_get_next_available_child);
 
 /**
- * of_get_next_child - Iterate a node childs
+ * of_get_next_child - Iterate a node children
  * @node:  parent node
  * @prev:  previous child of the parent node, or NULL to get first
  *
diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c
index b2253aa..614e136 100644
--- a/drivers/of/fdt.c
+++ b/drivers/of/fdt.c
@@ -525,7 +525,7 @@ void of_clean_reserve_map(void)
  * fdt_add_reserve_map - Add reserve map entries to a devicetree binary
  * @__fdt: The devicetree blob
  *
- * This adds the reservemap entries previously colllected in
+ * This adds the reservemap entries previously collected in
  * of_add_reserve_entry() to a devicetree binary blob. This also
  * adds the devicetree itself to the reserved list, so after calling
  * this function the tree should not be relocated anymore.
-- 
2.9.3


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


Re: [PATCH] docs: fix typos

2016-02-04 Thread Sascha Hauer
On Thu, Feb 04, 2016 at 09:17:04AM +0100, Marc Kleine-Budde wrote:
> On 02/04/2016 08:25 AM, Ulrich Ölmann wrote:
> > Signed-off-by: Ulrich Ölmann 
> > ---
> >  Documentation/devicetree/bindings/barebox/barebox,state.rst | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/Documentation/devicetree/bindings/barebox/barebox,state.rst 
> > b/Documentation/devicetree/bindings/barebox/barebox,state.rst
> > index d1b0627..5643edc 100644
> > --- a/Documentation/devicetree/bindings/barebox/barebox,state.rst
> > +++ b/Documentation/devicetree/bindings/barebox/barebox,state.rst
> > @@ -43,7 +43,7 @@ Variable nodes
> >  
> >  These are subnodes of a state node each describing a single
> >  variable. The node name may end with ``@``, but the suffix is
> > -sripped from the variable name.
> > +ripped from the variable name.
> 
> It should read "stripped"

Indeed that sounds better. Fixed.

Sascha


-- 
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


Re: [PATCH] docs: fix typos

2016-02-04 Thread Marc Kleine-Budde
On 02/04/2016 08:25 AM, Ulrich Ölmann wrote:
> Signed-off-by: Ulrich Ölmann 
> ---
>  Documentation/devicetree/bindings/barebox/barebox,state.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/barebox/barebox,state.rst 
> b/Documentation/devicetree/bindings/barebox/barebox,state.rst
> index d1b0627..5643edc 100644
> --- a/Documentation/devicetree/bindings/barebox/barebox,state.rst
> +++ b/Documentation/devicetree/bindings/barebox/barebox,state.rst
> @@ -43,7 +43,7 @@ Variable nodes
>  
>  These are subnodes of a state node each describing a single
>  variable. The node name may end with ``@``, but the suffix is
> -sripped from the variable name.
> +ripped from the variable name.

It should read "stripped"

>  
>  State variables have a type. Currenty supported types are: ``uint8``,
>  ``uint32``, ``enum32``, ``mac`` address or ``string``. Variable length
> 

Marc

-- 
Pengutronix e.K.  | Marc Kleine-Budde   |
Industrial Linux Solutions| Phone: +49-231-2826-924 |
Vertretung West/Dortmund  | Fax:   +49-5121-206917- |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |



signature.asc
Description: OpenPGP digital signature
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


[PATCH] docs: fix typos

2016-02-03 Thread Ulrich Ölmann
Signed-off-by: Ulrich Ölmann 
---
 Documentation/devicetree/bindings/barebox/barebox,state.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/barebox/barebox,state.rst 
b/Documentation/devicetree/bindings/barebox/barebox,state.rst
index d1b0627..5643edc 100644
--- a/Documentation/devicetree/bindings/barebox/barebox,state.rst
+++ b/Documentation/devicetree/bindings/barebox/barebox,state.rst
@@ -43,7 +43,7 @@ Variable nodes
 
 These are subnodes of a state node each describing a single
 variable. The node name may end with ``@``, but the suffix is
-sripped from the variable name.
+ripped from the variable name.
 
 State variables have a type. Currenty supported types are: ``uint8``,
 ``uint32``, ``enum32``, ``mac`` address or ``string``. Variable length
-- 
2.7.0.rc3


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


Re: [PATCH] docs: fix typos

2016-02-03 Thread Sascha Hauer
On Thu, Feb 04, 2016 at 08:25:24AM +0100, Ulrich Ölmann wrote:
> Signed-off-by: Ulrich Ölmann 
> ---
>  Documentation/devicetree/bindings/barebox/barebox,state.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/barebox/barebox,state.rst 
> b/Documentation/devicetree/bindings/barebox/barebox,state.rst
> index d1b0627..5643edc 100644
> --- a/Documentation/devicetree/bindings/barebox/barebox,state.rst
> +++ b/Documentation/devicetree/bindings/barebox/barebox,state.rst

Applied, thanks

Sascha


-- 
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] gpio: fix typos

2013-05-12 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com
---
 include/asm-generic/gpio.h |1 -
 include/gpio.h |2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
index c2e7a5d..95fdd05 100644
--- a/include/asm-generic/gpio.h
+++ b/include/asm-generic/gpio.h
@@ -18,4 +18,3 @@ int gpio_direction_output(unsigned gpio, int value);
 int gpio_direction_input(unsigned gpio);
 
 #endif /* __ASM_GENERIC_GPIO_H */
-
diff --git a/include/gpio.h b/include/gpio.h
index c2fb9f7..140d53c 100644
--- a/include/gpio.h
+++ b/include/gpio.h
@@ -6,7 +6,7 @@
 #ifndef CONFIG_GPIOLIB
 static inline int gpio_request(unsigned gpio, const char *label)
 {
-   return 0;
+   return 0;
 }
 
 static inline void gpio_free(unsigned gpio)
-- 
1.7.10.4


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


Re: [PATCH] gpio: fix typos

2013-05-12 Thread Jean-Christophe PLAGNIOL-VILLARD
this is not typos it's coding style

Best Regards,
J.
On 10:57 Sun 12 May , Antony Pavlov wrote:
 Signed-off-by: Antony Pavlov antonynpav...@gmail.com
 ---
  include/asm-generic/gpio.h |1 -
  include/gpio.h |2 +-
  2 files changed, 1 insertion(+), 2 deletions(-)
 
 diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
 index c2e7a5d..95fdd05 100644
 --- a/include/asm-generic/gpio.h
 +++ b/include/asm-generic/gpio.h
 @@ -18,4 +18,3 @@ int gpio_direction_output(unsigned gpio, int value);
  int gpio_direction_input(unsigned gpio);
  
  #endif /* __ASM_GENERIC_GPIO_H */
 -
 diff --git a/include/gpio.h b/include/gpio.h
 index c2fb9f7..140d53c 100644
 --- a/include/gpio.h
 +++ b/include/gpio.h
 @@ -6,7 +6,7 @@
  #ifndef CONFIG_GPIOLIB
  static inline int gpio_request(unsigned gpio, const char *label)
  {
 -   return 0;
 + return 0;
  }
  
  static inline void gpio_free(unsigned gpio)
 -- 
 1.7.10.4
 
 
 ___
 barebox mailing list
 barebox@lists.infradead.org
 http://lists.infradead.org/mailman/listinfo/barebox

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


Re: [PATCH] gpio: fix typos

2013-05-12 Thread antonynpav...@gmail.com
On Sun, 12 May 2013 15:49:40 +0200
Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote:

 this is not typos it's coding style

You are right!

Alas! Sascha has already applied this patch to the master branch.

 Best Regards,
 J.
 On 10:57 Sun 12 May , Antony Pavlov wrote:
  Signed-off-by: Antony Pavlov antonynpav...@gmail.com
  ---
   include/asm-generic/gpio.h |1 -
   include/gpio.h |2 +-
   2 files changed, 1 insertion(+), 2 deletions(-)
  
  diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
  index c2e7a5d..95fdd05 100644
  --- a/include/asm-generic/gpio.h
  +++ b/include/asm-generic/gpio.h
  @@ -18,4 +18,3 @@ int gpio_direction_output(unsigned gpio, int value);
   int gpio_direction_input(unsigned gpio);
   
   #endif /* __ASM_GENERIC_GPIO_H */
  -
  diff --git a/include/gpio.h b/include/gpio.h
  index c2fb9f7..140d53c 100644
  --- a/include/gpio.h
  +++ b/include/gpio.h
  @@ -6,7 +6,7 @@
   #ifndef CONFIG_GPIOLIB
   static inline int gpio_request(unsigned gpio, const char *label)
   {
  -   return 0;
  +   return 0;
   }
   
   static inline void gpio_free(unsigned gpio)
  -- 
  1.7.10.4
  
  
  ___
  barebox mailing list
  barebox@lists.infradead.org
  http://lists.infradead.org/mailman/listinfo/barebox


-- 
-- 
Best regards,
  Antony Pavlov

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


[PATCH] of: fix typos

2013-04-25 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com
---
 drivers/of/base.c |4 ++--
 drivers/of/gpio.c |1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/of/base.c b/drivers/of/base.c
index fde91b3..5661e8d 100644
--- a/drivers/of/base.c
+++ b/drivers/of/base.c
@@ -902,13 +902,13 @@ int of_add_memory(struct device_node *node, bool dump)
 
sprintf(str, ram%d, r);
 
-barebox_add_memory_bank(str, base, size);
+   barebox_add_memory_bank(str, base, size);
 
if (dump)
pr_info(%s: %s: 0x%llx@0x%llx\n, node-name, str, 
size, base);
 
r++;
-}
+   }
 
return 0;
 }
diff --git a/drivers/of/gpio.c b/drivers/of/gpio.c
index d4314f3..83b72c0 100644
--- a/drivers/of/gpio.c
+++ b/drivers/of/gpio.c
@@ -25,4 +25,3 @@ int of_get_named_gpio(struct device_node *np,
 
return ret;
 }
-
-- 
1.7.10.4


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