2022-09-08 13:09:42

by wangjianli

[permalink] [raw]
Subject: [PATCH] um/kernel: fix repeated words in comments

Delete the redundant word 'in'.

Signed-off-by: wangjianli <[email protected]>
---
arch/um/kernel/physmem.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/um/kernel/physmem.c b/arch/um/kernel/physmem.c
index e7c7b53a1435..91485119ae67 100644
--- a/arch/um/kernel/physmem.c
+++ b/arch/um/kernel/physmem.c
@@ -169,7 +169,7 @@ __uml_setup("iomem=", parse_iomem,
);

/*
- * This list is constructed in parse_iomem and addresses filled in in
+ * This list is constructed in parse_iomem and addresses filled in
* setup_iomem, both of which run during early boot. Afterwards, it's
* unchanged.
*/
--
2.36.1


2022-09-08 13:09:54

by Johannes Berg

[permalink] [raw]
Subject: Re: [PATCH] um/kernel: fix repeated words in comments

On Thu, 2022-09-08 at 20:54 +0800, wangjianli wrote:
> Delete the redundant word 'in'.
>
> Signed-off-by: wangjianli <[email protected]>
> ---
> arch/um/kernel/physmem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/um/kernel/physmem.c b/arch/um/kernel/physmem.c
> index e7c7b53a1435..91485119ae67 100644
> --- a/arch/um/kernel/physmem.c
> +++ b/arch/um/kernel/physmem.c
> @@ -169,7 +169,7 @@ __uml_setup("iomem=", parse_iomem,
> );
>
> /*
> - * This list is constructed in parse_iomem and addresses filled in in
> + * This list is constructed in parse_iomem and addresses filled in
> * setup_iomem, both of which run during early boot. Afterwards, it's
>
Fine, I guess, but honestly - that sentence doesn't parse well either
way. Might be worth addressing that at the same time...

johannes

2022-09-08 19:02:38

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH] um/kernel: fix repeated words in comments

On Thu, Sep 8, 2022 at 2:56 PM Johannes Berg <[email protected]> wrote:
> On Thu, 2022-09-08 at 20:54 +0800, wangjianli wrote:
> > Delete the redundant word 'in'.
> >
> > Signed-off-by: wangjianli <[email protected]>
> > ---
> > arch/um/kernel/physmem.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/arch/um/kernel/physmem.c b/arch/um/kernel/physmem.c
> > index e7c7b53a1435..91485119ae67 100644
> > --- a/arch/um/kernel/physmem.c
> > +++ b/arch/um/kernel/physmem.c
> > @@ -169,7 +169,7 @@ __uml_setup("iomem=", parse_iomem,
> > );
> >
> > /*
> > - * This list is constructed in parse_iomem and addresses filled in in
> > + * This list is constructed in parse_iomem and addresses filled in
> > * setup_iomem, both of which run during early boot. Afterwards, it's
> >
> Fine, I guess, but honestly - that sentence doesn't parse well either

Not fine, the repeated "in" is correct.
Q: "Where are addresses filled in?"
A: "In setup_iomem".

> way. Might be worth addressing that at the same time...

addresses are filled in?

General note: please stop submitting these patches for auto-detected
repeated words. There are too many false positives.
Thanks!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds