[PATCH] tty/seria: fix repeated words in comments

Jilin Yuan posted 1 patch 3 years, 7 months ago
drivers/tty/serial/fsl_lpuart.c | 2 +-
drivers/tty/serial/kgdboc.c     | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[PATCH] tty/seria: fix repeated words in comments
Posted by Jilin Yuan 3 years, 7 months ago
 Delete the redundant word 'as'.
 Delete the redundant word 'the'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
 drivers/tty/serial/fsl_lpuart.c | 2 +-
 drivers/tty/serial/kgdboc.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c
index 0d6e62f6bb07..fff4fa8d73ca 100644
--- a/drivers/tty/serial/fsl_lpuart.c
+++ b/drivers/tty/serial/fsl_lpuart.c
@@ -2787,7 +2787,7 @@ static int __maybe_unused lpuart_suspend(struct device *dev)
 		 * EDMA driver during suspend will forcefully release any
 		 * non-idle DMA channels. If port wakeup is enabled or if port
 		 * is console port or 'no_console_suspend' is set the Rx DMA
-		 * cannot resume as as expected, hence gracefully release the
+		 * cannot resume as expected, hence gracefully release the
 		 * Rx DMA path before suspend and start Rx DMA path on resume.
 		 */
 		if (irq_wake) {
diff --git a/drivers/tty/serial/kgdboc.c b/drivers/tty/serial/kgdboc.c
index 79b7db8580e0..a471fc132acb 100644
--- a/drivers/tty/serial/kgdboc.c
+++ b/drivers/tty/serial/kgdboc.c
@@ -343,7 +343,7 @@ static int param_set_kgdboc_var(const char *kmessage,
 	 * Configure with the new params as long as init already ran.
 	 * Note that we can get called before init if someone loads us
 	 * with "modprobe kgdboc kgdboc=..." or if they happen to use the
-	 * the odd syntax of "kgdboc.kgdboc=..." on the kernel command.
+	 * odd syntax of "kgdboc.kgdboc=..." on the kernel command.
 	 */
 	if (configured >= 0)
 		ret = configure_kgdboc();
-- 
2.36.1
Re: [PATCH] tty/seria: fix repeated words in comments
Posted by Greg KH 3 years, 7 months ago
On Mon, Aug 22, 2022 at 08:06:33PM +0800, Jilin Yuan wrote:
>  Delete the redundant word 'as'.
>  Delete the redundant word 'the'.
> 
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>

Your subject line is incorrect :(

Again, post a patch series, not a random set of patches with all the
same subject line, not reflecting what file you are touching.

I would recommend learning how the development process works first by
contributing to drivers/staging/ and not going out of that area until
you have some experience and know how to do this correctly.

good luck!

greg k-h