2022-08-23 18:14:41

by wangjianli

[permalink] [raw]
Subject: [PATCH] pci/saa7164: fix repeated words in comments

Delete the redundant word 'the'.

Signed-off-by: wangjianli <[email protected]>
---
drivers/media/pci/saa7164/saa7164-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/pci/saa7164/saa7164-core.c b/drivers/media/pci/saa7164/saa7164-core.c
index 7973ae42873a..d5f32e3ff544 100644
--- a/drivers/media/pci/saa7164/saa7164-core.c
+++ b/drivers/media/pci/saa7164/saa7164-core.c
@@ -626,7 +626,7 @@ static irqreturn_t saa7164_irq(int irq, void *dev_id)
portf = &dev->ports[SAA7164_PORT_VBI2];

/* Check that the hardware is accessible. If the status bytes are
- * 0xFF then the device is not accessible, the the IRQ belongs
+ * 0xFF then the device is not accessible, the IRQ belongs
* to another driver.
* 4 x u32 interrupt registers.
*/
--
2.36.1


2022-08-23 19:31:05

by Tommaso Merciai

[permalink] [raw]
Subject: Re: [PATCH] pci/saa7164: fix repeated words in comments

On Tue, Aug 23, 2022 at 10:57:09PM +0800, wangjianli wrote:
> Delete the redundant word 'the'.
>
> Signed-off-by: wangjianli <[email protected]>
> ---
> drivers/media/pci/saa7164/saa7164-core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/pci/saa7164/saa7164-core.c b/drivers/media/pci/saa7164/saa7164-core.c
> index 7973ae42873a..d5f32e3ff544 100644
> --- a/drivers/media/pci/saa7164/saa7164-core.c
> +++ b/drivers/media/pci/saa7164/saa7164-core.c
> @@ -626,7 +626,7 @@ static irqreturn_t saa7164_irq(int irq, void *dev_id)
> portf = &dev->ports[SAA7164_PORT_VBI2];
>
> /* Check that the hardware is accessible. If the status bytes are
> - * 0xFF then the device is not accessible, the the IRQ belongs
> + * 0xFF then the device is not accessible, the IRQ belongs
> * to another driver.
> * 4 x u32 interrupt registers.
> */
> --
> 2.36.1
>

Hi,
Looks good.

Tommaso

--
Tommaso Merciai
Embedded Linux Engineer
[email protected]
__________________________________

Amarula Solutions SRL
Via Le Canevare 30, 31100 Treviso, Veneto, IT
T. +39 042 243 5310
[email protected]
http://www.amarulasolutions.com

2022-08-23 19:36:21

by Tommaso Merciai

[permalink] [raw]
Subject: Re: [PATCH] pci/saa7164: fix repeated words in comments

Hi,

On Tue, Aug 23, 2022 at 10:57:09PM +0800, wangjianli wrote:
> Delete the redundant word 'the'.
>
> Signed-off-by: wangjianli <[email protected]>
> ---
> drivers/media/pci/saa7164/saa7164-core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/pci/saa7164/saa7164-core.c b/drivers/media/pci/saa7164/saa7164-core.c
> index 7973ae42873a..d5f32e3ff544 100644
> --- a/drivers/media/pci/saa7164/saa7164-core.c
> +++ b/drivers/media/pci/saa7164/saa7164-core.c
> @@ -626,7 +626,7 @@ static irqreturn_t saa7164_irq(int irq, void *dev_id)
> portf = &dev->ports[SAA7164_PORT_VBI2];
>
> /* Check that the hardware is accessible. If the status bytes are
> - * 0xFF then the device is not accessible, the the IRQ belongs
> + * 0xFF then the device is not accessible, the IRQ belongs
> * to another driver.
> * 4 x u32 interrupt registers.
> */
> --
> 2.36.1
>

All your patches about "repeated words in comments" looks good but maybe
is better to put all these fixes on a series? I think for maintainers
it's easier to manage

Regards,
Tommaso

--
Tommaso Merciai
Embedded Linux Engineer
[email protected]
__________________________________

Amarula Solutions SRL
Via Le Canevare 30, 31100 Treviso, Veneto, IT
T. +39 042 243 5310
[email protected]
http://www.amarulasolutions.com