linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dtc: fix spelling mistake "mmory" -> "memory"
@ 2019-09-11  9:31 Colin King
  2019-10-17 19:08 ` Frank Rowand
  0 siblings, 1 reply; 3+ messages in thread
From: Colin King @ 2019-09-11  9:31 UTC (permalink / raw)
  To: Rob Herring, Frank Rowand, devicetree; +Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

There is a spelling mistake in an error message. Fix it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 scripts/dtc/fdtput.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/dtc/fdtput.c b/scripts/dtc/fdtput.c
index a363c3cabc59..3755e5f68a5a 100644
--- a/scripts/dtc/fdtput.c
+++ b/scripts/dtc/fdtput.c
@@ -84,7 +84,7 @@ static int encode_value(struct display_info *disp, char **arg, int arg_count,
 			value_size = (upto + len) + 500;
 			value = realloc(value, value_size);
 			if (!value) {
-				fprintf(stderr, "Out of mmory: cannot alloc "
+				fprintf(stderr, "Out of memory: cannot alloc "
 					"%d bytes\n", value_size);
 				return -1;
 			}
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dtc: fix spelling mistake "mmory" -> "memory"
  2019-09-11  9:31 [PATCH] dtc: fix spelling mistake "mmory" -> "memory" Colin King
@ 2019-10-17 19:08 ` Frank Rowand
  2019-10-20 18:56   ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Frank Rowand @ 2019-10-17 19:08 UTC (permalink / raw)
  To: Colin King, Rob Herring, devicetree
  Cc: kernel-janitors, linux-kernel, Frank Rowand

Hi Rob,


On 09/11/2019 04:31, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> There is a spelling mistake in an error message. Fix it.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  scripts/dtc/fdtput.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/dtc/fdtput.c b/scripts/dtc/fdtput.c
> index a363c3cabc59..3755e5f68a5a 100644
> --- a/scripts/dtc/fdtput.c
> +++ b/scripts/dtc/fdtput.c
> @@ -84,7 +84,7 @@ static int encode_value(struct display_info *disp, char **arg, int arg_count,
>  			value_size = (upto + len) + 500;
>  			value = realloc(value, value_size);
>  			if (!value) {
> -				fprintf(stderr, "Out of mmory: cannot alloc "
> +				fprintf(stderr, "Out of memory: cannot alloc "
>  					"%d bytes\n", value_size);
>  				return -1;
>  			}
> 

This is a very old version of the upstream file.  update-dtc-source.sh does
not pull new versions of this file.

We don't actually build fdtput, is there any reason to not just remove
scripts/dtc/fdtput.c?

-Frank

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dtc: fix spelling mistake "mmory" -> "memory"
  2019-10-17 19:08 ` Frank Rowand
@ 2019-10-20 18:56   ` Rob Herring
  0 siblings, 0 replies; 3+ messages in thread
From: Rob Herring @ 2019-10-20 18:56 UTC (permalink / raw)
  To: Frank Rowand; +Cc: Colin King, devicetree, kernel-janitors, linux-kernel

On Thu, Oct 17, 2019 at 2:08 PM Frank Rowand <frowand.list@gmail.com> wrote:
>
> Hi Rob,
>
>
> On 09/11/2019 04:31, Colin King wrote:
> > From: Colin Ian King <colin.king@canonical.com>
> >
> > There is a spelling mistake in an error message. Fix it.
> >
> > Signed-off-by: Colin Ian King <colin.king@canonical.com>
> > ---
> >  scripts/dtc/fdtput.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/scripts/dtc/fdtput.c b/scripts/dtc/fdtput.c
> > index a363c3cabc59..3755e5f68a5a 100644
> > --- a/scripts/dtc/fdtput.c
> > +++ b/scripts/dtc/fdtput.c
> > @@ -84,7 +84,7 @@ static int encode_value(struct display_info *disp, char **arg, int arg_count,
> >                       value_size = (upto + len) + 500;
> >                       value = realloc(value, value_size);
> >                       if (!value) {
> > -                             fprintf(stderr, "Out of mmory: cannot alloc "
> > +                             fprintf(stderr, "Out of memory: cannot alloc "
> >                                       "%d bytes\n", value_size);
> >                               return -1;
> >                       }
> >
>
> This is a very old version of the upstream file.  update-dtc-source.sh does
> not pull new versions of this file.
>
> We don't actually build fdtput, is there any reason to not just remove
> scripts/dtc/fdtput.c?

Yes, we should just remove it.

Rob

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-20 18:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-11  9:31 [PATCH] dtc: fix spelling mistake "mmory" -> "memory" Colin King
2019-10-17 19:08 ` Frank Rowand
2019-10-20 18:56   ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).