Re: [PATCH] mtd: rawnand: Clean up some spelling mistakes and grammar in Kconfig text

From: kernel test robot
Date: Fri Dec 04 2020 - 16:16:12 EST


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@xxxxxxxxx>

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@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip