2023-12-18 15:20:11

by Dipendra Khadka

[permalink] [raw]
Subject: [PATCH] drivers: staging: media: atomisp: pci: Fixes spelling mistakes in ia_css_irq.h

The script checkpatch.pl reported spelling errors
in ia_css_irq.h as below:

'''
WARNING: Possible repeated word: 'in'
/** the input system in in error */

WARNING: Possible repeated word: 'in'
/** the input formatter in in error */

WARNING: Possible repeated word: 'in'
/** the dma in in error */
'''

This patch corrects spelling errors,
changing "in" to "is" in all three comments.

Signed-off-by: Dipendra Khadka <[email protected]>
---
drivers/staging/media/atomisp/pci/ia_css_irq.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/media/atomisp/pci/ia_css_irq.h b/drivers/staging/media/atomisp/pci/ia_css_irq.h
index 26b1b3c8ba62..00e2fd1f9647 100644
--- a/drivers/staging/media/atomisp/pci/ia_css_irq.h
+++ b/drivers/staging/media/atomisp/pci/ia_css_irq.h
@@ -84,11 +84,11 @@ enum ia_css_irq_info {
IA_CSS_IRQ_INFO_ISP_BINARY_STATISTICS_READY = BIT(17),
/** ISP binary statistics are ready */
IA_CSS_IRQ_INFO_INPUT_SYSTEM_ERROR = BIT(18),
- /** the input system in in error */
+ /** the input system is in error */
IA_CSS_IRQ_INFO_IF_ERROR = BIT(19),
- /** the input formatter in in error */
+ /** the input formatter is in error */
IA_CSS_IRQ_INFO_DMA_ERROR = BIT(20),
- /** the dma in in error */
+ /** the dma is in error */
IA_CSS_IRQ_INFO_ISYS_EVENTS_READY = BIT(21),
/** end-of-frame events are ready in the isys_event queue */
};
--
2.34.1



2023-12-31 09:39:20

by Hans de Goede

[permalink] [raw]
Subject: Re: [PATCH] drivers: staging: media: atomisp: pci: Fixes spelling mistakes in ia_css_irq.h

Hi,

On 12/18/23 16:17, Dipendra Khadka wrote:
> The script checkpatch.pl reported spelling errors
> in ia_css_irq.h as below:
>
> '''
> WARNING: Possible repeated word: 'in'
> /** the input system in in error */
>
> WARNING: Possible repeated word: 'in'
> /** the input formatter in in error */
>
> WARNING: Possible repeated word: 'in'
> /** the dma in in error */
> '''
>
> This patch corrects spelling errors,
> changing "in" to "is" in all three comments.
>
> Signed-off-by: Dipendra Khadka <[email protected]>

Thank you for your patch.

I have merged this in my media-atomisp branch:
https://git.kernel.org/pub/scm/linux/kernel/git/hansg/linux.git/log/?h=media-atomisp

And this patch will be included in my next
pull-request to Mauro (to media subsystem maintainer)

Regards,

Hans


> ---
> drivers/staging/media/atomisp/pci/ia_css_irq.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/media/atomisp/pci/ia_css_irq.h b/drivers/staging/media/atomisp/pci/ia_css_irq.h
> index 26b1b3c8ba62..00e2fd1f9647 100644
> --- a/drivers/staging/media/atomisp/pci/ia_css_irq.h
> +++ b/drivers/staging/media/atomisp/pci/ia_css_irq.h
> @@ -84,11 +84,11 @@ enum ia_css_irq_info {
> IA_CSS_IRQ_INFO_ISP_BINARY_STATISTICS_READY = BIT(17),
> /** ISP binary statistics are ready */
> IA_CSS_IRQ_INFO_INPUT_SYSTEM_ERROR = BIT(18),
> - /** the input system in in error */
> + /** the input system is in error */
> IA_CSS_IRQ_INFO_IF_ERROR = BIT(19),
> - /** the input formatter in in error */
> + /** the input formatter is in error */
> IA_CSS_IRQ_INFO_DMA_ERROR = BIT(20),
> - /** the dma in in error */
> + /** the dma is in error */
> IA_CSS_IRQ_INFO_ISYS_EVENTS_READY = BIT(21),
> /** end-of-frame events are ready in the isys_event queue */
> };