diff mbox series

mtd: rawnand: Clean up some spelling mistakes and grammar in Kconfig text

Message ID 20201204193058.1151768-1-colin.king@canonical.com
State Superseded
Delegated to: Miquel Raynal
Headers show
Series mtd: rawnand: Clean up some spelling mistakes and grammar in Kconfig text | expand

Commit Message

Colin Ian King Dec. 4, 2020, 7:30 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

There are some spelling mistakes in the Kconfig help text, fix
these. Also clean up the grammar.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/mtd/nand/raw/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

kernel test robot Dec. 4, 2020, 9:15 p.m. UTC | #1
Hi Colin,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.10-rc6 next-20201204]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Colin-King/mtd-rawnand-Clean-up-some-spelling-mistakes-and-grammar-in-Kconfig-text/20201205-033552
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git e87297fa080a7ed6b431873c771b3801cab573f5
config: i386-randconfig-s001-20201204 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-179-ga00755aa-dirty
        # https://github.com/0day-ci/linux/commit/fda6cb9f357005842f946cd841143c12389e46b0
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Colin-King/mtd-rawnand-Clean-up-some-spelling-mistakes-and-grammar-in-Kconfig-text/20201205-033552
        git checkout fda6cb9f357005842f946cd841143c12389e46b0
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/mtd/nand/raw/Kconfig:487: syntax error
   drivers/mtd/nand/raw/Kconfig:486:warning: ignoring unsupported character ','
   drivers/mtd/nand/raw/Kconfig:486: unknown statement "new"
   drivers/mtd/nand/raw/Kconfig:487: invalid statement
--
>> drivers/mtd/nand/raw/Kconfig:487: syntax error
   drivers/mtd/nand/raw/Kconfig:486:warning: ignoring unsupported character ','
   drivers/mtd/nand/raw/Kconfig:486: unknown statement "new"
   drivers/mtd/nand/raw/Kconfig:487: invalid statement
   make[3]: *** [scripts/kconfig/Makefile:71: syncconfig] Error 1
   make[2]: *** [Makefile:602: syncconfig] Error 2
   make[1]: *** [Makefile:710: include/config/auto.conf.cmd] Error 2
   make[1]: Failed to remake makefile 'include/config/auto.conf.cmd'.
   make[1]: Failed to remake makefile 'include/config/auto.conf'.
   make[1]: Target 'modules_prepare' not remade because of errors.
   make: *** [Makefile:185: __sub-make] Error 2
   make: Target 'modules_prepare' not remade because of errors.
--
>> drivers/mtd/nand/raw/Kconfig:487: syntax error
   drivers/mtd/nand/raw/Kconfig:486:warning: ignoring unsupported character ','
   drivers/mtd/nand/raw/Kconfig:486: unknown statement "new"
   drivers/mtd/nand/raw/Kconfig:487: invalid statement
   make[2]: *** [scripts/kconfig/Makefile:71: olddefconfig] Error 1
   make[1]: *** [Makefile:602: olddefconfig] Error 2
   make: *** [Makefile:185: __sub-make] Error 2
   make: Target 'olddefconfig' not remade because of errors.
--
>> drivers/mtd/nand/raw/Kconfig:487: syntax error
   drivers/mtd/nand/raw/Kconfig:486:warning: ignoring unsupported character ','
   drivers/mtd/nand/raw/Kconfig:486: unknown statement "new"
   drivers/mtd/nand/raw/Kconfig:487: invalid statement
   make[3]: *** [scripts/kconfig/Makefile:71: syncconfig] Error 1
   make[2]: *** [Makefile:602: syncconfig] Error 2
   make[1]: *** [Makefile:710: include/config/auto.conf.cmd] Error 2
   make[1]: Failed to remake makefile 'include/config/auto.conf.cmd'.
   make[1]: Failed to remake makefile 'include/config/auto.conf'.
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:185: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.

vim +487 drivers/mtd/nand/raw/Kconfig

e787be1f1d45e1 Miquel Raynal  2019-02-06  466  
e787be1f1d45e1 Miquel Raynal  2019-02-06  467  config MTD_SM_COMMON
e787be1f1d45e1 Miquel Raynal  2019-02-06  468  	tristate
e787be1f1d45e1 Miquel Raynal  2019-02-06  469  	default n
e787be1f1d45e1 Miquel Raynal  2019-02-06  470  
e787be1f1d45e1 Miquel Raynal  2019-02-06  471  config MTD_NAND_NANDSIM
e787be1f1d45e1 Miquel Raynal  2019-02-06  472  	tristate "Support for NAND Flash Simulator"
e787be1f1d45e1 Miquel Raynal  2019-02-06  473  	help
e787be1f1d45e1 Miquel Raynal  2019-02-06  474  	  The simulator may simulate various NAND flash chips for the
e787be1f1d45e1 Miquel Raynal  2019-02-06  475  	  MTD nand layer.
e787be1f1d45e1 Miquel Raynal  2019-02-06  476  
e787be1f1d45e1 Miquel Raynal  2019-02-06  477  config MTD_NAND_RICOH
e787be1f1d45e1 Miquel Raynal  2019-02-06  478  	tristate "Ricoh xD card reader"
e787be1f1d45e1 Miquel Raynal  2019-02-06  479  	default n
e787be1f1d45e1 Miquel Raynal  2019-02-06  480  	depends on PCI
e787be1f1d45e1 Miquel Raynal  2019-02-06  481  	select MTD_SM_COMMON
e787be1f1d45e1 Miquel Raynal  2019-02-06  482  	help
e787be1f1d45e1 Miquel Raynal  2019-02-06  483  	  Enable support for Ricoh R5C852 xD card reader
fda6cb9f357005 Colin Ian King 2020-12-04  484  	  You also need to enable either
fda6cb9f357005 Colin Ian King 2020-12-04  485  	  'NAND SSFDC (SmartMedia) read only translation layer' or the
fda6cb9f357005 Colin Ian King 2020-12-04  486           new experimental, readwrite
e787be1f1d45e1 Miquel Raynal  2019-02-06 @487  	  'SmartMedia/xD new translation layer'
e787be1f1d45e1 Miquel Raynal  2019-02-06  488  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
kernel test robot Dec. 5, 2020, 12:23 a.m. UTC | #2
Hi Colin,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.10-rc6 next-20201204]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Colin-King/mtd-rawnand-Clean-up-some-spelling-mistakes-and-grammar-in-Kconfig-text/20201205-033552
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git e87297fa080a7ed6b431873c771b3801cab573f5
config: csky-randconfig-r012-20201204 (attached as .config)
compiler: csky-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/fda6cb9f357005842f946cd841143c12389e46b0
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Colin-King/mtd-rawnand-Clean-up-some-spelling-mistakes-and-grammar-in-Kconfig-text/20201205-033552
        git checkout fda6cb9f357005842f946cd841143c12389e46b0
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=csky 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/mtd/nand/raw/Kconfig:487: syntax error
   drivers/mtd/nand/raw/Kconfig:486:warning: ignoring unsupported character ','
   drivers/mtd/nand/raw/Kconfig:486: unknown statement "new"
   drivers/mtd/nand/raw/Kconfig:487: invalid statement
   make[3]: *** [scripts/kconfig/Makefile:71: syncconfig] Error 1
   make[2]: *** [Makefile:602: syncconfig] Error 2
   make[1]: *** [Makefile:710: include/config/auto.conf.cmd] Error 2
   make[1]: Failed to remake makefile 'include/config/auto.conf.cmd'.
   make[1]: Failed to remake makefile 'include/config/auto.conf'.
>> make[1]: *** No rule to make target 'modules_prepare'.
   make: *** [Makefile:185: __sub-make] Error 2
   make: Target 'modules_prepare' not remade because of errors.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
diff mbox series

Patch

diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index b93e6cd23259..83b65fb1b93b 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -460,9 +460,9 @@  config MTD_NAND_RICOH
 	select MTD_SM_COMMON
 	help
 	  Enable support for Ricoh R5C852 xD card reader
-	  You also need to enable ether
-	  NAND SSFDC (SmartMedia) read only translation layer' or new
-	  expermental, readwrite
+	  You also need to enable either
+	  'NAND SSFDC (SmartMedia) read only translation layer' or the
+         new experimental, readwrite
 	  'SmartMedia/xD new translation layer'
 
 config MTD_NAND_DISKONCHIP