* [PATCH] clk: Remove extraneous 'for' word in comments
@ 2019-08-17 6:35 Rishi Gupta
2019-08-17 7:22 ` Joe Perches
2019-08-18 1:13 ` Stephen Boyd
0 siblings, 2 replies; 6+ messages in thread
From: Rishi Gupta @ 2019-08-17 6:35 UTC (permalink / raw)
To: sboyd; +Cc: mturquette, linux-clk, linux-kernel, Rishi Gupta
An extra 'for' word is grammatically incorrect in the comment
'verifying ops for multi-parent clks'. This commit removes
this extra for word.
Signed-off-by: Rishi Gupta <gupt21@gmail.com>
---
drivers/clk/clk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index c099070..bea50ee 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -2437,7 +2437,7 @@ static int clk_core_set_parent_nolock(struct clk_core *core,
if (core->parent == parent)
return 0;
- /* verify ops for for multi-parent clks */
+ /* verify ops for multi-parent clks */
if (core->num_parents > 1 && !core->ops->set_parent)
return -EPERM;
--
2.7.4
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] clk: Remove extraneous 'for' word in comments
2019-08-17 6:35 [PATCH] clk: Remove extraneous 'for' word in comments Rishi Gupta
@ 2019-08-17 7:22 ` Joe Perches
2019-08-18 1:13 ` Stephen Boyd
1 sibling, 0 replies; 6+ messages in thread
From: Joe Perches @ 2019-08-17 7:22 UTC (permalink / raw)
To: Rishi Gupta, sboyd, kernel-janitors; +Cc: mturquette, linux-clk, linux-kernel
On Sat, 2019-08-17 at 12:05 +0530, Rishi Gupta wrote:
> An extra 'for' word is grammatically incorrect in the comment
> 'verifying ops for multi-parent clks'. This commit removes
> this extra for word.
A few other repeated word typos in comments are
common in the kernel and most could be changed.
$ git grep -P '^\s*/?\*.*\bthe the\b' | wc -l
285
$ git grep -P '^\s*/?\*.*\bto to\b' | wc -l
62
$ git grep -P '^\s*/?\*.*\bfor for\b' | wc -l
31
$ git grep -P
'^\s*/?\*.*\bfrom from\b' | wc -l
22
$ git grep -P '^\s*/?\*.*\bare are\b'
| wc -l
16
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] clk: Remove extraneous 'for' word in comments
@ 2019-08-17 7:22 ` Joe Perches
0 siblings, 0 replies; 6+ messages in thread
From: Joe Perches @ 2019-08-17 7:22 UTC (permalink / raw)
To: Rishi Gupta, sboyd, kernel-janitors; +Cc: mturquette, linux-clk, linux-kernel
On Sat, 2019-08-17 at 12:05 +0530, Rishi Gupta wrote:
> An extra 'for' word is grammatically incorrect in the comment
> 'verifying ops for multi-parent clks'. This commit removes
> this extra for word.
A few other repeated word typos in comments are
common in the kernel and most could be changed.
$ git grep -P '^\s*/?\*.*\bthe the\b' | wc -l
285
$ git grep -P '^\s*/?\*.*\bto to\b' | wc -l
62
$ git grep -P '^\s*/?\*.*\bfor for\b' | wc -l
31
$ git grep -P
'^\s*/?\*.*\bfrom from\b' | wc -l
22
$ git grep -P '^\s*/?\*.*\bare are\b'
| wc -l
16
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] clk: Remove extraneous 'for' word in comments
2019-08-17 7:22 ` Joe Perches
@ 2019-08-17 14:58 ` Rishi Gupta
-1 siblings, 0 replies; 6+ messages in thread
From: Rishi Gupta @ 2019-08-17 14:57 UTC (permalink / raw)
To: joe
Cc: kernel-janitors, sboyd, mturquette, linux-clk, linux-kernel, Rishi Gupta
Thanks Joe for higlighting this. I am going
to send patches for them as well soon.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] clk: Remove extraneous 'for' word in comments
@ 2019-08-17 14:58 ` Rishi Gupta
0 siblings, 0 replies; 6+ messages in thread
From: Rishi Gupta @ 2019-08-17 14:58 UTC (permalink / raw)
To: joe
Cc: kernel-janitors, sboyd, mturquette, linux-clk, linux-kernel, Rishi Gupta
Thanks Joe for higlighting this. I am going
to send patches for them as well soon.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] clk: Remove extraneous 'for' word in comments
2019-08-17 6:35 [PATCH] clk: Remove extraneous 'for' word in comments Rishi Gupta
2019-08-17 7:22 ` Joe Perches
@ 2019-08-18 1:13 ` Stephen Boyd
1 sibling, 0 replies; 6+ messages in thread
From: Stephen Boyd @ 2019-08-18 1:13 UTC (permalink / raw)
To: Rishi Gupta; +Cc: mturquette, linux-clk, linux-kernel, Rishi Gupta
Quoting Rishi Gupta (2019-08-16 23:35:59)
> An extra 'for' word is grammatically incorrect in the comment
> 'verifying ops for multi-parent clks'. This commit removes
> this extra for word.
>
> Signed-off-by: Rishi Gupta <gupt21@gmail.com>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-08-18 1:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-17 6:35 [PATCH] clk: Remove extraneous 'for' word in comments Rishi Gupta
2019-08-17 7:22 ` Joe Perches
2019-08-17 7:22 ` Joe Perches
2019-08-17 14:57 ` Rishi Gupta
2019-08-17 14:58 ` Rishi Gupta
2019-08-18 1:13 ` Stephen Boyd
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.