Skip to contentSkip to conversation

drivers: staging: media: atomisp: pci: Fixes a spelling mistake in sh_css_defs.h

PATCH In review Dipendra Khadka 2 participants 2 messages Dec 18, 2023 – Dec 31, 2023

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers: staging: media: atomisp: pci: Fixes a spelling mistake in sh_css_defs.h

The script checkpatch.pl reported a spelling error in sh_css_defs.h as below:

'''
WARNING: 'upto' may be misspelled - perhaps 'up to'? /* The FPGA system (vec_nelems == 16) only supports upto 5MP */

                                                    ^^^^

'''

This patch corrects a spelling error,
changing "upto" to "up to".

---
 drivers/staging/media/atomisp/pci/sh_css_defs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/atomisp/pci/sh_css_defs.h +1 -1
index 7eb10b226f0a..2afde974e75d 100644
@@ -131,7 +131,7 @@ RGB[0,8191],coef[-8192,8191] -> RGB[0,8191]
  * invalid rows/columns that result from filter initialization are skipped. */
 #define SH_CSS_MIN_DVS_ENVELOPE           12U
 
-/* The FPGA system (vec_nelems == 16) only supports upto 5MP */
+/* The FPGA system (vec_nelems == 16) only supports up to 5MP */
 #define SH_CSS_MAX_SENSOR_WIDTH           4608
 #define SH_CSS_MAX_SENSOR_HEIGHT          3450
 
Signature · 1 line
2.34.1
#1 lore raw

Hi,

Quoted 6 lines · Dipendra Khadka

The script checkpatch.pl reported a spelling error in sh_css_defs.h as below:

'''
WARNING: 'upto' may be misspelled - perhaps 'up to'? /* The FPGA system (vec_nelems == 16) only supports upto 5MP */

Quoted 7 lines
                                                    ^^^^

'''

This patch corrects a spelling error,
changing "upto" to "up to".

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

Quoted 17 lines
---
 drivers/staging/media/atomisp/pci/sh_css_defs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/atomisp/pci/sh_css_defs.h +1 -1
index 7eb10b226f0a..2afde974e75d 100644
@@ -131,7 +131,7 @@ RGB[0,8191],coef[-8192,8191] -> RGB[0,8191]
  * invalid rows/columns that result from filter initialization are skipped. */
 #define SH_CSS_MIN_DVS_ENVELOPE           12U
 
-/* The FPGA system (vec_nelems == 16) only supports upto 5MP */
+/* The FPGA system (vec_nelems == 16) only supports up to 5MP */
 #define SH_CSS_MAX_SENSOR_WIDTH           4608
 #define SH_CSS_MAX_SENSOR_HEIGHT          3450