Fix misc spelling errors found by lintian
Subsystems (5)
PATCH 1/1 Fix misc spelling errors found by lintian
--- arch/arm/cpu/arm920t/at91rm9200/ether.c | 2 +- arch/sparc/cpu/leon2/cpu_init.c | 4 ++-- arch/sparc/cpu/leon3/cpu_init.c | 4 ++-- common/cmd_usb.c | 2 +- common/usb_storage.c | 2 +- drivers/net/at91_emac.c | 2 +- fs/jffs2/jffs2_1pass.c | 2 +- fs/jffs2/jffs2_nand_1pass.c | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-)
arch/arm/cpu/arm920t/at91rm9200/ether.c +1 -1
@@ -39,7 +39,7 @@ typedef struct {#define RBF_MULTICAST (1<<30)#define RBF_UNICAST (1<<29)#define RBF_EXTERNAL (1<<28) -#define RBF_UNKOWN (1<<27) +#define RBF_UNKNOWN (1<<27)#define RBF_SIZE 0x07ff#define RBF_LOCAL4 (1<<26)#define RBF_LOCAL3 (1<<25)
arch/sparc/cpu/leon2/cpu_init.c +2 -2
@@ -47,9 +47,9 @@ struct {* initialize a bunch of registers. * * Run from FLASH/PROM: -* - until memory controller is set up, only registers avaiable +* - until memory controller is set up, only registers available * - no global variables available for writing -* - constants avaiable +* - constants available */ void cpu_init_f (void )
arch/sparc/cpu/leon3/cpu_init.c +2 -2
@@ -57,9 +57,9 @@ struct {* initialize a bunch of registers. * * Run from FLASH/PROM: -* - until memory controller is set up, only registers avaiable +* - until memory controller is set up, only registers available * - no global variables available for writing -* - constants avaiable +* - constants available */ void cpu_init_f (void )
common/cmd_usb.c +1 -1
@@ -580,7 +580,7 @@ int do_usb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])break ; }if (dev ==NULL ) { -printf ("*** NO Device avaiable ***\n" ); +printf ("*** NO Device available ***\n" );return 0 ; }else {usb_display_desc (dev);
common/usb_storage.c +1 -1
@@ -254,7 +254,7 @@ int usb_stor_scan(int mode) dev =usb_get_dev_index (i);/* get device */ USB_STOR_PRINTF ("i=%d\n" , i);if (dev ==NULL ) -break ;/* no more devices avaiable */ +break ;/* no more devices available */ if (usb_storage_probe (dev,0 , &usb_stor[usb_max_devs])) {/* OK, it's a storage device. Iterate over its LUNs
drivers/net/at91_emac.c +1 -1
@@ -93,7 +93,7 @@#define RBF_MULTICAST (1<<30)#define RBF_UNICAST (1<<29)#define RBF_EXTERNAL (1<<28) -#define RBF_UNKOWN (1<<27) +#define RBF_UNKNOWN (1<<27)#define RBF_SIZE 0x07ff#define RBF_LOCAL4 (1<<26)#define RBF_LOCAL3 (1<<25)
fs/jffs2/jffs2_1pass.c +1 -1
@@ -794,7 +794,7 @@ jffs2_1pass_read_inode(struct b_lists *pL, u32 inode, char *dest)#endif default :/* unknown */ -putLabeledWord ("UNKOWN COMPRESSION METHOD = " , jNode->compr); +putLabeledWord ("UNKNOWN COMPRESSION METHOD = " , jNode->compr);put_fl_mem (jNode, pL->readbuf);return -1 ;break ;
fs/jffs2/jffs2_nand_1pass.c +1 -1
@@ -350,7 +350,7 @@ jffs2_1pass_read_inode(struct b_lists *pL, u32 ino, char *dest,#endif default :/* unknown */ -putLabeledWord ("UNKOWN COMPRESSION METHOD = " , inode->compr); +putLabeledWord ("UNKNOWN COMPRESSION METHOD = " , inode->compr);return -1 ; } }
Signature · 1 line
1.7.2.3
PATCH v2 1/1 Fix misc spelling errors found by lintian
---
Changes for V2:
* add Signed-off-by
arch/arm/cpu/arm920t/at91rm9200/ether.c | 2 +- arch/sparc/cpu/leon2/cpu_init.c | 4 ++-- arch/sparc/cpu/leon3/cpu_init.c | 4 ++-- common/cmd_usb.c | 2 +- common/usb_storage.c | 2 +- drivers/net/at91_emac.c | 2 +- fs/jffs2/jffs2_1pass.c | 2 +- fs/jffs2/jffs2_nand_1pass.c | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-)
arch/arm/cpu/arm920t/at91rm9200/ether.c +1 -1
@@ -39,7 +39,7 @@ typedef struct {#define RBF_MULTICAST (1<<30)#define RBF_UNICAST (1<<29)#define RBF_EXTERNAL (1<<28) -#define RBF_UNKOWN (1<<27) +#define RBF_UNKNOWN (1<<27)#define RBF_SIZE 0x07ff#define RBF_LOCAL4 (1<<26)#define RBF_LOCAL3 (1<<25)
arch/sparc/cpu/leon2/cpu_init.c +2 -2
@@ -47,9 +47,9 @@ struct {* initialize a bunch of registers. * * Run from FLASH/PROM: -* - until memory controller is set up, only registers avaiable +* - until memory controller is set up, only registers available * - no global variables available for writing -* - constants avaiable +* - constants available */ void cpu_init_f (void )
arch/sparc/cpu/leon3/cpu_init.c +2 -2
@@ -57,9 +57,9 @@ struct {* initialize a bunch of registers. * * Run from FLASH/PROM: -* - until memory controller is set up, only registers avaiable +* - until memory controller is set up, only registers available * - no global variables available for writing -* - constants avaiable +* - constants available */ void cpu_init_f (void )
common/cmd_usb.c +1 -1
@@ -580,7 +580,7 @@ int do_usb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])break ; }if (dev ==NULL ) { -printf ("*** NO Device avaiable ***\n" ); +printf ("*** NO Device available ***\n" );return 0 ; }else {usb_display_desc (dev);
common/usb_storage.c +1 -1
@@ -254,7 +254,7 @@ int usb_stor_scan(int mode) dev =usb_get_dev_index (i);/* get device */ USB_STOR_PRINTF ("i=%d\n" , i);if (dev ==NULL ) -break ;/* no more devices avaiable */ +break ;/* no more devices available */ if (usb_storage_probe (dev,0 , &usb_stor[usb_max_devs])) {/* OK, it's a storage device. Iterate over its LUNs
drivers/net/at91_emac.c +1 -1
@@ -93,7 +93,7 @@#define RBF_MULTICAST (1<<30)#define RBF_UNICAST (1<<29)#define RBF_EXTERNAL (1<<28) -#define RBF_UNKOWN (1<<27) +#define RBF_UNKNOWN (1<<27)#define RBF_SIZE 0x07ff#define RBF_LOCAL4 (1<<26)#define RBF_LOCAL3 (1<<25)
fs/jffs2/jffs2_1pass.c +1 -1
@@ -794,7 +794,7 @@ jffs2_1pass_read_inode(struct b_lists *pL, u32 inode, char *dest)#endif default :/* unknown */ -putLabeledWord ("UNKOWN COMPRESSION METHOD = " , jNode->compr); +putLabeledWord ("UNKNOWN COMPRESSION METHOD = " , jNode->compr);put_fl_mem (jNode, pL->readbuf);return -1 ;break ;
fs/jffs2/jffs2_nand_1pass.c +1 -1
@@ -350,7 +350,7 @@ jffs2_1pass_read_inode(struct b_lists *pL, u32 ino, char *dest,#endif default :/* unknown */ -putLabeledWord ("UNKOWN COMPRESSION METHOD = " , inode->compr); +putLabeledWord ("UNKNOWN COMPRESSION METHOD = " , inode->compr);return -1 ; } }
Signature · 1 line
1.7.2.3
PATCH v2 1/1 Fix misc spelling errors found by lintian
Loic wrote...
<snip>
common/cmd_usb.c int do_usb(cmd_tbl_t *cmdtp, int flag, int argc, · line 584
Quoted 11 lines
common/cmd_usb.c +1
-1@@ -580,7 +580,7 @@ int do_usb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) break; }if (dev ==NULL ) { -printf ("*** NO Device avaiable ***\n" ); +printf ("*** NO Device available ***\n" );
Should this be further amended to be all upper case or all words starting with an upper case character rather than the current random looking collection?
<snip>
Andy.
PATCH v2 1/1 Fix misc spelling errors found by lintian
Quoted 3 lines · Andy Pont
Should this be further amended to be all upper case or all words starting with an upper case character rather than the current random looking collection?
I wasn't sure whether it was extra emphasis on "NO", and there was no other similarly looking message in the file (with ***) so I didn't change the casing.
Signature · 1 line
Lo?c Minier
PATCH v2 1/1 Fix misc spelling errors found by lintian
In reply to Andy PontDear "Andy Pont",
Quoted 5 lines · In message <012501cbc3ae$ae525bf0$0af713d0$@[email protected]> you wrote:
common/cmd_usb.c int do_usb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) · line 583
Quoted 3 lines
common/cmd_usb.c +1
-1-printf ("*** NO Device avaiable ***\n" ); +printf ("*** NO Device available ***\n" );Should this be further amended to be all upper case or all words starting with an upper case character rather than the current random looking collection?
If you feel it's worth the effort, please feel free to rewrite as "No device available".
Thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de America has been discovered before, but it has always been hushed up. - Oscar Wilde
PATCH v3 1/1 Fix misc spelling errors found by lintian
In reply to Loïc Minier---
Changes for V3:
* tweak casing of string in common/cmd_usb.c to "No device available"
Changes for V2:
* add Signed-off-by
arch/arm/cpu/arm920t/at91rm9200/ether.c | 2 +- arch/sparc/cpu/leon2/cpu_init.c | 4 ++-- arch/sparc/cpu/leon3/cpu_init.c | 4 ++-- common/cmd_usb.c | 2 +- common/usb_storage.c | 2 +- drivers/net/at91_emac.c | 2 +- fs/jffs2/jffs2_1pass.c | 2 +- fs/jffs2/jffs2_nand_1pass.c | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-)
arch/arm/cpu/arm920t/at91rm9200/ether.c +1 -1
@@ -39,7 +39,7 @@ typedef struct {#define RBF_MULTICAST (1<<30)#define RBF_UNICAST (1<<29)#define RBF_EXTERNAL (1<<28) -#define RBF_UNKOWN (1<<27) +#define RBF_UNKNOWN (1<<27)#define RBF_SIZE 0x07ff#define RBF_LOCAL4 (1<<26)#define RBF_LOCAL3 (1<<25)
arch/sparc/cpu/leon2/cpu_init.c +2 -2
@@ -47,9 +47,9 @@ struct {* initialize a bunch of registers. * * Run from FLASH/PROM: -* - until memory controller is set up, only registers avaiable +* - until memory controller is set up, only registers available * - no global variables available for writing -* - constants avaiable +* - constants available */ void cpu_init_f (void )
arch/sparc/cpu/leon3/cpu_init.c +2 -2
@@ -57,9 +57,9 @@ struct {* initialize a bunch of registers. * * Run from FLASH/PROM: -* - until memory controller is set up, only registers avaiable +* - until memory controller is set up, only registers available * - no global variables available for writing -* - constants avaiable +* - constants available */ void cpu_init_f (void )
common/cmd_usb.c +1 -1
@@ -580,7 +580,7 @@ int do_usb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])break ; }if (dev ==NULL ) { -printf ("*** NO Device avaiable ***\n" ); +printf ("*** No device available ***\n" );return 0 ; }else {usb_display_desc (dev);
common/usb_storage.c +1 -1
@@ -254,7 +254,7 @@ int usb_stor_scan(int mode) dev =usb_get_dev_index (i);/* get device */ USB_STOR_PRINTF ("i=%d\n" , i);if (dev ==NULL ) -break ;/* no more devices avaiable */ +break ;/* no more devices available */ if (usb_storage_probe (dev,0 , &usb_stor[usb_max_devs])) {/* OK, it's a storage device. Iterate over its LUNs
drivers/net/at91_emac.c +1 -1
@@ -93,7 +93,7 @@#define RBF_MULTICAST (1<<30)#define RBF_UNICAST (1<<29)#define RBF_EXTERNAL (1<<28) -#define RBF_UNKOWN (1<<27) +#define RBF_UNKNOWN (1<<27)#define RBF_SIZE 0x07ff#define RBF_LOCAL4 (1<<26)#define RBF_LOCAL3 (1<<25)
fs/jffs2/jffs2_1pass.c +1 -1
@@ -794,7 +794,7 @@ jffs2_1pass_read_inode(struct b_lists *pL, u32 inode, char *dest)#endif default :/* unknown */ -putLabeledWord ("UNKOWN COMPRESSION METHOD = " , jNode->compr); +putLabeledWord ("UNKNOWN COMPRESSION METHOD = " , jNode->compr);put_fl_mem (jNode, pL->readbuf);return -1 ;break ;
fs/jffs2/jffs2_nand_1pass.c +1 -1
@@ -350,7 +350,7 @@ jffs2_1pass_read_inode(struct b_lists *pL, u32 ino, char *dest,#endif default :/* unknown */ -putLabeledWord ("UNKOWN COMPRESSION METHOD = " , inode->compr); +putLabeledWord ("UNKNOWN COMPRESSION METHOD = " , inode->compr);return -1 ; } }
Signature · 1 line
1.7.2.3
Wolfgang Denk
AppliedPATCH v3 1/1 Fix misc spelling errors found by lintian
Dear =?UTF-8?q?Lo=C3=AFc=20Minier?=,
Quoted 8 lines · In message <[email protected]> you wrote:
Signed-off-by Lo?c Minier <[email protected]>---
Changes for V3:
* tweak casing of string incommon/cmd_usb.cto "No device available"Changes for V2:
* add Signed-off-by
Quoted 9 lines
arch/arm/cpu/arm920t/at91rm9200/ether.c | 2 +- arch/sparc/cpu/leon2/cpu_init.c | 4 ++-- arch/sparc/cpu/leon3/cpu_init.c | 4 ++-- common/cmd_usb.c | 2 +- common/usb_storage.c | 2 +- drivers/net/at91_emac.c | 2 +- fs/jffs2/jffs2_1pass.c | 2 +- fs/jffs2/jffs2_nand_1pass.c | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de A penny saved is a penny to squander. - Ambrose Bierce