[PATCH] Fix spelling error in file kernel/relay.c

Everest K.C. posted 1 patch 2 months, 2 weeks ago
There is a newer version of this series
kernel/relay.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
[PATCH] Fix spelling error in file kernel/relay.c
Posted by Everest K.C. 2 months, 2 weeks ago
Fixed spelling error reported by codespell as follows:
	perfomring ==> performing

Signed-off-by: Everest K.C. <everestkc@everestkc.com.np>
---
 kernel/relay.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/kernel/relay.c b/kernel/relay.c
index a8e90e98bf2c..a60189c63d54 100644
--- a/kernel/relay.c
+++ b/kernel/relay.c
@@ -11,7 +11,7 @@
  * 	(mathieu.desnoyers@polymtl.ca)
  *
  * This file is released under the GPL.
- */
+ *
 #include <linux/errno.h>
 #include <linux/stddef.h>
 #include <linux/slab.h>
@@ -28,7 +28,7 @@ static DEFINE_MUTEX(relay_channels_mutex);
 static LIST_HEAD(relay_channels);
 
 /*
- * fault() vm_op implementation for relay file mapping.
+ * fault() vm_op ementation for relay file mapping.
  */
 static vm_fault_t relay_buf_fault(struct vm_fault *vmf)
 {
@@ -560,7 +560,7 @@ static void __relay_set_buf_dentry(void *info)
  *	Use to setup files for a previously buffer-only channel created
  *	by relay_open() with a NULL parent dentry.
  *
- *	For example, this is useful for perfomring early tracing in kernel,
+ *	For example, this is useful for performing early tracing in kernel,
  *	before VFS is up and then exposing the early results once the dentry
  *	is available.
  */
@@ -837,7 +837,7 @@ static int relay_file_mmap(struct file *filp, struct vm_area_struct *vma)
  *	@filp: the file
  *	@wait: poll table
  *
- *	Poll implemention.
+ *	Poll emention.
  */
 static __poll_t relay_file_poll(struct file *filp, poll_table *wait)
 {
-- 
2.43.0
Re: [PATCH] Fix spelling error in file kernel/relay.c
Posted by Christophe JAILLET 2 months, 2 weeks ago
Le 15/09/2024 à 21:46, Everest K.C. a écrit :
> Fixed spelling error reported by codespell as follows:
> 	perfomring ==> performing
> 

Hi,

the patch looks broken.

CJ

> Signed-off-by: Everest K.C. <everestkc@everestkc.com.np>
> ---
>   kernel/relay.c | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/kernel/relay.c b/kernel/relay.c
> index a8e90e98bf2c..a60189c63d54 100644
> --- a/kernel/relay.c
> +++ b/kernel/relay.c
> @@ -11,7 +11,7 @@
>    * 	(mathieu.desnoyers@polymtl.ca)
>    *
>    * This file is released under the GPL.
> - */
> + *

???

>   #include <linux/errno.h>
>   #include <linux/stddef.h>
>   #include <linux/slab.h>
> @@ -28,7 +28,7 @@ static DEFINE_MUTEX(relay_channels_mutex);
>   static LIST_HEAD(relay_channels);
>   
>   /*
> - * fault() vm_op implementation for relay file mapping.
> + * fault() vm_op ementation for relay file mapping.

???

>    */
>   static vm_fault_t relay_buf_fault(struct vm_fault *vmf)
>   {
> @@ -560,7 +560,7 @@ static void __relay_set_buf_dentry(void *info)
>    *	Use to setup files for a previously buffer-only channel created
>    *	by relay_open() with a NULL parent dentry.
>    *
> - *	For example, this is useful for perfomring early tracing in kernel,
> + *	For example, this is useful for performing early tracing in kernel,
>    *	before VFS is up and then exposing the early results once the dentry
>    *	is available.
>    */
> @@ -837,7 +837,7 @@ static int relay_file_mmap(struct file *filp, struct vm_area_struct *vma)
>    *	@filp: the file
>    *	@wait: poll table
>    *
> - *	Poll implemention.
> + *	Poll emention.

???

>    */
>   static __poll_t relay_file_poll(struct file *filp, poll_table *wait)
>   {

[PATCH v2] Fix spelling error in file kernel/relay.c
Posted by Everest K.C. 2 months, 2 weeks ago
Fixed spelling error reported by codespell as follows:
	perfomring ==> performing
        implemention ==> implementation

Signed-off-by: Everest K.C. <everestkc@everestkc.com.np>
---
 v1 -> v2: * Rolled back the change in multiline comment that broke the
	     patch
	   * Changed "ementation" and "emention" (which was messedup in v10) 
	     to "implementation"

 kernel/relay.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/relay.c b/kernel/relay.c
index a8e90e98bf2c..04b04c238c96 100644
--- a/kernel/relay.c
+++ b/kernel/relay.c
@@ -560,7 +560,7 @@ static void __relay_set_buf_dentry(void *info)
  *	Use to setup files for a previously buffer-only channel created
  *	by relay_open() with a NULL parent dentry.
  *
- *	For example, this is useful for perfomring early tracing in kernel,
+ *	For example, this is useful for performing early tracing in kernel,
  *	before VFS is up and then exposing the early results once the dentry
  *	is available.
  */
@@ -837,7 +837,7 @@ static int relay_file_mmap(struct file *filp, struct vm_area_struct *vma)
  *	@filp: the file
  *	@wait: poll table
  *
- *	Poll implemention.
+ *	Poll implementation.
  */
 static __poll_t relay_file_poll(struct file *filp, poll_table *wait)
 {
-- 
2.43.0