[PATCH] media: atomisp: fix spelling error in ia_css_sdis2_types.h

Liu Jing posted 1 patch 1 year ago
[PATCH] media: atomisp: fix spelling error in ia_css_sdis2_types.h
Posted by Liu Jing 1 year ago
fix the coefficients spelling error in ia_css_sdis2_types.h

Signed-off-by: Liu Jing <liujing@cmss.chinamobile.com>

diff --git a/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ia_css_sdis2_types.h b/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ia_css_sdis2_types.h
index f37802878528..2bed08435755 100644
--- a/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ia_css_sdis2_types.h
+++ b/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ia_css_sdis2_types.h
@@ -19,7 +19,7 @@
 #endif
 
 /* DVS 2.0 Coefficient types. This structure contains 4 pointers to
- *  arrays that contain the coeffients for each type.
+ *  arrays that contain the coefficients for each type.
  */
 struct ia_css_dvs2_coef_types {
 	s16 *odd_real; /** real part of the odd coefficients*/
-- 
2.27.0
Re: [PATCH] media: atomisp: fix spelling error in ia_css_sdis2_types.h
Posted by Hans de Goede 7 months, 2 weeks ago
Hi,

On 9-Dec-24 7:40 AM, Liu Jing wrote:
> fix the coefficients spelling error in ia_css_sdis2_types.h
> 
> Signed-off-by: Liu Jing <liujing@cmss.chinamobile.com>

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




> 
> diff --git a/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ia_css_sdis2_types.h b/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ia_css_sdis2_types.h
> index f37802878528..2bed08435755 100644
> --- a/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ia_css_sdis2_types.h
> +++ b/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/ia_css_sdis2_types.h
> @@ -19,7 +19,7 @@
>  #endif
>  
>  /* DVS 2.0 Coefficient types. This structure contains 4 pointers to
> - *  arrays that contain the coeffients for each type.
> + *  arrays that contain the coefficients for each type.
>   */
>  struct ia_css_dvs2_coef_types {
>  	s16 *odd_real; /** real part of the odd coefficients*/
Re: [PATCH] media: atomisp: fix spelling error in ia_css_sdis2_types.h
Posted by Andy Shevchenko 1 year ago
On Mon, Dec 9, 2024 at 8:40 AM Liu Jing <liujing@cmss.chinamobile.com> wrote:
>
> fix the coefficients spelling error in ia_css_sdis2_types.h

Please, respect English grammar and punctuation (here you missed a
capital letter at the beginning and period at the end of the
sentence).

Besides that, can you run the `codespell` tool against the entire
driver and fix others, if any, typos and mistakes?

-- 
With Best Regards,
Andy Shevchenko