Skip to contentSkip to conversation

Typo: Fix typo in atmel_serial.c

PATCH In review Shivam Chaudhary 3 participants 4 messages Oct 24, 2024 – Nov 5, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Typo: Fix typo in atmel_serial.c

Corrected minor typo in atmel_serial.c
- Fixed "retreives" to "retrieves"

---
 drivers/tty/serial/atmel_serial.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/atmel_serial.c +1 -1
index 09b246c9e389..bb1978db6939 100644
@@ -1166,7 +1166,7 @@ static void atmel_rx_from_dma(struct uart_port *port)
 		port->icount.rx += count;
 	}
 
-	/* USART retreives ownership of RX DMA buffer */
+	/* USART retrieves ownership of RX DMA buffer */
 	dma_sync_single_for_device(port->dev, atmel_port->rx_phys,
 				   ATMEL_SERIAL_RX_SIZE, DMA_FROM_DEVICE);
 
Signature · 1 line
2.34.1
#1 lore raw

Hi,

Quoted 7 lines · Shivam Chaudhary

[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe

Corrected minor typo in atmel_serial.c
- Fixed "retreives" to "retrieves"

Pls fix the subject line. Refer to the previous commits from the git log of the same file. Also,the commit message should be in imperative mood. Send a v2 with the above comments addressed. Some useful links below:

https://kernelnewbies.org/FirstKernelPatch
https://kernelnewbies.org/PatchPhilosophy

Regards,
Hari

Quoted 22 lines
---
  drivers/tty/serial/atmel_serial.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/atmel_serial.c +1 -2
index 09b246c9e389..bb1978db6939 100644
@@ -1166,7 +1166,7 @@ static void atmel_rx_from_dma(struct uart_port *port)
                 port->icount.rx += count;
         }
 
-       /* USART retreives ownership of RX DMA buffer */
+       /* USART retrieves ownership of RX DMA buffer */
         dma_sync_single_for_device(port->dev, atmel_port->rx_phys,
                                    ATMEL_SERIAL_RX_SIZE, DMA_FROM_DEVICE);
 
--

2.34.1

maintainer
#2 lore raw

Le 05/11/2024 à 13:18, [email protected] a écrit :

Quoted 11 lines

Hi,

Quoted 7 lines · Shivam Chaudhary

[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe

Corrected minor typo in atmel_serial.c
- Fixed "retreives" to "retrieves"

Quoted 6 lines

Pls fix the subject line. Refer to the previous commits from the git log of the same file. Also,the commit message should be in imperative mood. Send a v2 with the above comments addressed. Some useful links below:

https://kernelnewbies.org/FirstKernelPatch
https://kernelnewbies.org/PatchPhilosophy

And for this kind of patches, I think it should go through the kernel-janitors ML.

Regards,
Richard

Quoted 26 lines

Regards,
Hari

Quoted 22 lines
---
   drivers/tty/serial/atmel_serial.c | 2 +-
   1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/atmel_serial.c +1 -2
index 09b246c9e389..bb1978db6939 100644
@@ -1166,7 +1166,7 @@ static void atmel_rx_from_dma(struct uart_port *port)
                  port->icount.rx += count;
          }
 
-       /* USART retreives ownership of RX DMA buffer */
+       /* USART retrieves ownership of RX DMA buffer */
          dma_sync_single_for_device(port->dev, atmel_port->rx_phys,
                                     ATMEL_SERIAL_RX_SIZE, DMA_FROM_DEVICE);
 
--

2.34.1

#3 lore raw
Quoted 12 lines · Richard GENOUD

Le 05/11/2024 à 13:18, [email protected] a écrit :

Quoted 11 lines

Hi,

Quoted 7 lines · Shivam Chaudhary

[You don't often get email from [email protected]. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe

Corrected minor typo in atmel_serial.c
- Fixed "retreives" to "retrieves"

Quoted 9 lines
Quoted 6 lines

Pls fix the subject line. Refer to the previous commits from the git log of the same file. Also,the commit message should be in imperative mood. Send a v2 with the above comments addressed. Some useful links below:

https://kernelnewbies.org/FirstKernelPatch
https://kernelnewbies.org/PatchPhilosophy

And for this kind of patches, I think it should go through the kernel-janitors ML.

Thanks for responding , i think kernel-janitors is not active anymore(IMK). Ill address the

review comments and send the V2.

thanks

--Shivam