2022-11-04 10:49:38

by Jonathan Neuschäfer

[permalink] [raw]
Subject: [PATCH] serial: Fix a typo ("ignorning")

Fix the two instances of this typo present in the MSM and VT8500 serial
drivers.

Signed-off-by: Jonathan Neuschäfer <[email protected]>
---
drivers/tty/serial/msm_serial.c | 2 +-
drivers/tty/serial/vt8500_serial.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c
index 7dd19a2815794..d9a3aa941427c 100644
--- a/drivers/tty/serial/msm_serial.c
+++ b/drivers/tty/serial/msm_serial.c
@@ -819,7 +819,7 @@ static void msm_handle_rx(struct uart_port *port)
port->icount.rx++;
}

- /* Mask conditions we're ignorning. */
+ /* Mask conditions we're ignoring. */
sr &= port->read_status_mask;

if (sr & MSM_UART_SR_RX_BREAK)
diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c
index 10fbdb09965f3..37c8a55b48eda 100644
--- a/drivers/tty/serial/vt8500_serial.c
+++ b/drivers/tty/serial/vt8500_serial.c
@@ -168,7 +168,7 @@ static void handle_rx(struct uart_port *port)

c = readw(port->membase + VT8500_RXFIFO) & 0x3ff;

- /* Mask conditions we're ignorning. */
+ /* Mask conditions we're ignoring. */
c &= ~port->read_status_mask;

if (c & FER) {
--
2.35.1



2022-11-04 11:35:43

by Konrad Dybcio

[permalink] [raw]
Subject: Re: [PATCH] serial: Fix a typo ("ignorning")


On 04/11/2022 11:37, Jonathan Neuschäfer wrote:
> Fix the two instances of this typo present in the MSM and VT8500 serial
> drivers.
>
> Signed-off-by: Jonathan Neuschäfer <[email protected]>
> ---

Acked-by: Konrad Dybcio <[email protected]>


Konrad

> drivers/tty/serial/msm_serial.c | 2 +-
> drivers/tty/serial/vt8500_serial.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/tty/serial/msm_serial.c b/drivers/tty/serial/msm_serial.c
> index 7dd19a2815794..d9a3aa941427c 100644
> --- a/drivers/tty/serial/msm_serial.c
> +++ b/drivers/tty/serial/msm_serial.c
> @@ -819,7 +819,7 @@ static void msm_handle_rx(struct uart_port *port)
> port->icount.rx++;
> }
>
> - /* Mask conditions we're ignorning. */
> + /* Mask conditions we're ignoring. */
> sr &= port->read_status_mask;
>
> if (sr & MSM_UART_SR_RX_BREAK)
> diff --git a/drivers/tty/serial/vt8500_serial.c b/drivers/tty/serial/vt8500_serial.c
> index 10fbdb09965f3..37c8a55b48eda 100644
> --- a/drivers/tty/serial/vt8500_serial.c
> +++ b/drivers/tty/serial/vt8500_serial.c
> @@ -168,7 +168,7 @@ static void handle_rx(struct uart_port *port)
>
> c = readw(port->membase + VT8500_RXFIFO) & 0x3ff;
>
> - /* Mask conditions we're ignorning. */
> + /* Mask conditions we're ignoring. */
> c &= ~port->read_status_mask;
>
> if (c & FER) {
> --
> 2.35.1
>

2022-11-04 13:58:24

by Mukesh Ojha

[permalink] [raw]
Subject: Re: [PATCH] serial: Fix a typo ("ignorning")


Hi,

On 11/4/2022 4:16 PM, Konrad Dybcio wrote:
>
> On 04/11/2022 11:37, Jonathan Neuschäfer wrote:
>> Fix the two instances of this typo present in the MSM and VT8500 serial
>> drivers.
>>
>> Signed-off-by: Jonathan Neuschäfer <[email protected]>
>> ---
>
> Acked-by: Konrad Dybcio <[email protected]>

Reviewed-by: Mukesh Ojha <[email protected]>

-Mukesh
>
>
> Konrad
>
>>   drivers/tty/serial/msm_serial.c    | 2 +-
>>   drivers/tty/serial/vt8500_serial.c | 2 +-
>>   2 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/tty/serial/msm_serial.c
>> b/drivers/tty/serial/msm_serial.c
>> index 7dd19a2815794..d9a3aa941427c 100644
>> --- a/drivers/tty/serial/msm_serial.c
>> +++ b/drivers/tty/serial/msm_serial.c
>> @@ -819,7 +819,7 @@ static void msm_handle_rx(struct uart_port *port)
>>               port->icount.rx++;
>>           }
>>
>> -        /* Mask conditions we're ignorning. */
>> +        /* Mask conditions we're ignoring. */
>>           sr &= port->read_status_mask;
>>
>>           if (sr & MSM_UART_SR_RX_BREAK)
>> diff --git a/drivers/tty/serial/vt8500_serial.c
>> b/drivers/tty/serial/vt8500_serial.c
>> index 10fbdb09965f3..37c8a55b48eda 100644
>> --- a/drivers/tty/serial/vt8500_serial.c
>> +++ b/drivers/tty/serial/vt8500_serial.c
>> @@ -168,7 +168,7 @@ static void handle_rx(struct uart_port *port)
>>
>>           c = readw(port->membase + VT8500_RXFIFO) & 0x3ff;
>>
>> -        /* Mask conditions we're ignorning. */
>> +        /* Mask conditions we're ignoring. */
>>           c &= ~port->read_status_mask;
>>
>>           if (c & FER) {
>> --
>> 2.35.1
>>
>
> _______________________________________________
> linux-arm-kernel mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel