2024-05-21 09:57:28

by Roshan Khatri

[permalink] [raw]
Subject: [PATCH v3] staging: rtl8712: Fix spelling mistake in rtl871x_event.h

codespell reported misspelled joining in rtl871x_event.h. Correcting the
misspelled word improves readability and helps in searching.

Signed-off-by: Roshan Khatri <[email protected]>
---
v3:
- Fixed misspelled word "readability" in patch description
v2:
- Changed "mistakes" to "mistake" in the patch title as suggested by Philipp
- Updated the patch description to reflect why this change is important
as suggested by Philipp
- https://lore.kernel.org/all/[email protected]/
v1: https://lore.kernel.org/all/[email protected]/

drivers/staging/rtl8712/rtl871x_event.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8712/rtl871x_event.h b/drivers/staging/rtl8712/rtl871x_event.h
index 759a2d27d8f2..0cc780cf4341 100644
--- a/drivers/staging/rtl8712/rtl871x_event.h
+++ b/drivers/staging/rtl8712/rtl871x_event.h
@@ -37,7 +37,7 @@ struct surveydone_event {
};

/*
- * Used to report the link result of joinning the given bss
+ * Used to report the link result of joining the given bss
* join_res:
* -1: authentication fail
* -2: association fail
--
2.34.1



2024-05-21 19:05:15

by Philipp Hortmann

[permalink] [raw]
Subject: Re: [PATCH v3] staging: rtl8712: Fix spelling mistake in rtl871x_event.h

On 5/21/24 11:56, Roshan Khatri wrote:
> codespell reported misspelled joining in rtl871x_event.h. Correcting the
> misspelled word improves readability and helps in searching.
>
> Signed-off-by: Roshan Khatri <[email protected]>
> ---
> v3:
> - Fixed misspelled word "readability" in patch description
> v2:
> - Changed "mistakes" to "mistake" in the patch title as suggested by Philipp
> - Updated the patch description to reflect why this change is important
> as suggested by Philipp
> - https://lore.kernel.org/all/[email protected]/
> v1: https://lore.kernel.org/all/[email protected]/
>
> drivers/staging/rtl8712/rtl871x_event.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8712/rtl871x_event.h b/drivers/staging/rtl8712/rtl871x_event.h
> index 759a2d27d8f2..0cc780cf4341 100644
> --- a/drivers/staging/rtl8712/rtl871x_event.h
> +++ b/drivers/staging/rtl8712/rtl871x_event.h
> @@ -37,7 +37,7 @@ struct surveydone_event {
> };
>
> /*
> - * Used to report the link result of joinning the given bss
> + * Used to report the link result of joining the given bss
> * join_res:
> * -1: authentication fail
> * -2: association fail

Tested-by: Philipp Hortmann <[email protected]>