2020-07-17 23:38:25

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] modules: linux/moduleparam.h: drop duplicated word in a comment

From: Randy Dunlap <[email protected]>

Drop the doubled word "the" in a comment.

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Jessica Yu <[email protected]>
---
include/linux/moduleparam.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20200714.orig/include/linux/moduleparam.h
+++ linux-next-20200714/include/linux/moduleparam.h
@@ -108,7 +108,7 @@ struct kparam_array
* ".") the kernel commandline parameter. Note that - is changed to _, so
* the user can use "foo-bar=1" even for variable "foo_bar".
*
- * @perm is 0 if the the variable is not to appear in sysfs, or 0444
+ * @perm is 0 if the variable is not to appear in sysfs, or 0444
* for world-readable, 0644 for root-writable, etc. Note that if it
* is writable, you may need to use kernel_param_lock() around
* accesses (esp. charp, which can be kfreed when it changes).



2020-07-20 08:56:06

by Jessica Yu

[permalink] [raw]
Subject: Re: [PATCH] modules: linux/moduleparam.h: drop duplicated word in a comment

+++ Randy Dunlap [17/07/20 16:36 -0700]:
>From: Randy Dunlap <[email protected]>
>
>Drop the doubled word "the" in a comment.
>
>Signed-off-by: Randy Dunlap <[email protected]>
>Cc: Jessica Yu <[email protected]>
>---
> include/linux/moduleparam.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>--- linux-next-20200714.orig/include/linux/moduleparam.h
>+++ linux-next-20200714/include/linux/moduleparam.h
>@@ -108,7 +108,7 @@ struct kparam_array
> * ".") the kernel commandline parameter. Note that - is changed to _, so
> * the user can use "foo-bar=1" even for variable "foo_bar".
> *
>- * @perm is 0 if the the variable is not to appear in sysfs, or 0444
>+ * @perm is 0 if the variable is not to appear in sysfs, or 0444
> * for world-readable, 0644 for root-writable, etc. Note that if it
> * is writable, you may need to use kernel_param_lock() around
> * accesses (esp. charp, which can be kfreed when it changes).

Applied, thanks!

Jessica