[PATCH] Typo: Fix typo in atmel_serial.c
Richard GENOUD
richard.genoud at bootlin.com
Tue Nov 5 05:10:02 PST 2024
Le 05/11/2024 à 13:18, Hari.PrasathGE at microchip.com a écrit :
> Hi,
>
> On 10/24/24 10:53 PM, Shivam Chaudhary wrote:
>> [You don't often get email from cvam0000 at gmail.com. 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
And for this kind of patches, I think it should go through the
kernel-janitors ML.
Regards,
Richard
>
> Regards,
> Hari
>
>> Signed-off-by: Shivam Chaudhary <cvam0000 at gmail.com>
>> ---
>> drivers/tty/serial/atmel_serial.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c
>> index 09b246c9e389..bb1978db6939 100644
>> --- a/drivers/tty/serial/atmel_serial.c
>> +++ b/drivers/tty/serial/atmel_serial.c
>> @@ -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
>>
>>
More information about the linux-arm-kernel
mailing list