public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers/tty: Fix typos in comments
       [not found] <20230718162025.64358-1-wangjianli@cdjrlc.com>
@ 2023-07-18 16:22 ` pangzizhen001
  2023-07-18 16:26   ` pangzizhen001
  2023-07-18 16:40   ` Greg KH
  0 siblings, 2 replies; 3+ messages in thread
From: pangzizhen001 @ 2023-07-18 16:22 UTC (permalink / raw)
  To: gregkh, jirislaby; +Cc: linux-kernel

Delete duplicate word "the"

Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
---
  drivers/tty/n_gsm.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c
index b411a26cc092..e8cd1e07eafe 100644
--- a/drivers/tty/n_gsm.c
+++ b/drivers/tty/n_gsm.c
@@ -1148,7 +1148,7 @@ static void __gsm_data_queue(struct gsm_dlci 
*dlci, struct gsm_msg *msg)
   *
   *    Add data to the transmit queue and try and get stuff moving
   *    out of the mux tty if not already doing so. Take the
- *    the gsm tx lock and dlci lock.
+ *    gsm tx lock and dlci lock.
   */

  static void gsm_data_queue(struct gsm_dlci *dlci, struct gsm_msg *msg)

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] drivers/tty: Fix typos in comments
  2023-07-18 16:22 ` [PATCH] drivers/tty: Fix typos in comments pangzizhen001
@ 2023-07-18 16:26   ` pangzizhen001
  2023-07-18 16:40   ` Greg KH
  1 sibling, 0 replies; 3+ messages in thread
From: pangzizhen001 @ 2023-07-18 16:26 UTC (permalink / raw)
  To: gregkh, jirislaby; +Cc: linux-kernel

Delete duplicate word "the"

Signed-off-by: Zizhen Pang <pangzizhen001@208suo.com>
---
  drivers/tty/n_gsm.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c
index b411a26cc092..e8cd1e07eafe 100644
--- a/drivers/tty/n_gsm.c
+++ b/drivers/tty/n_gsm.c
@@ -1148,7 +1148,7 @@ static void __gsm_data_queue(struct gsm_dlci 
*dlci, struct gsm_msg *msg)
   *
   *    Add data to the transmit queue and try and get stuff moving
   *    out of the mux tty if not already doing so. Take the
- *    the gsm tx lock and dlci lock.
+ *    gsm tx lock and dlci lock.
   */

  static void gsm_data_queue(struct gsm_dlci *dlci, struct gsm_msg *msg)

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drivers/tty: Fix typos in comments
  2023-07-18 16:22 ` [PATCH] drivers/tty: Fix typos in comments pangzizhen001
  2023-07-18 16:26   ` pangzizhen001
@ 2023-07-18 16:40   ` Greg KH
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2023-07-18 16:40 UTC (permalink / raw)
  To: pangzizhen001; +Cc: jirislaby, linux-kernel

On Wed, Jul 19, 2023 at 12:22:25AM +0800, pangzizhen001@208suo.com wrote:
> Delete duplicate word "the"
> 
> Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
> ---
>  drivers/tty/n_gsm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/tty/n_gsm.c b/drivers/tty/n_gsm.c
> index b411a26cc092..e8cd1e07eafe 100644
> --- a/drivers/tty/n_gsm.c
> +++ b/drivers/tty/n_gsm.c
> @@ -1148,7 +1148,7 @@ static void __gsm_data_queue(struct gsm_dlci *dlci,
> struct gsm_msg *msg)
>   *
>   *    Add data to the transmit queue and try and get stuff moving
>   *    out of the mux tty if not already doing so. Take the
> - *    the gsm tx lock and dlci lock.
> + *    gsm tx lock and dlci lock.
>   */
> 
>  static void gsm_data_queue(struct gsm_dlci *dlci, struct gsm_msg *msg)

Please learn how to get involved in kernel development by working in
drivers/staging/* first, as the developers there are used to simple
errors like what you did here, and will work to help you out.

Otherwise, patches like this are just going to cause developers to get
grumpy when you have obvious errors.

good luck!

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-18 16:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20230718162025.64358-1-wangjianli@cdjrlc.com>
2023-07-18 16:22 ` [PATCH] drivers/tty: Fix typos in comments pangzizhen001
2023-07-18 16:26   ` pangzizhen001
2023-07-18 16:40   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox