All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [xlnx:xlnx_rebase_v5.4 842/1698] include/linux/mtd/cfi.h:62:2: sparse: sparse: No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
@ 2021-01-21 18:16 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-01-21 18:16 UTC (permalink / raw
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 3061 bytes --]

CC: kbuild-all(a)lists.01.org
CC: linux-arm-kernel(a)lists.infradead.org
TO: Amit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com>
CC: Michal Simek <monstr@monstr.eu>
CC: Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
CC: Harini Katakam <harinik@xilinx.com>
CC: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
CC: Soren Brinkmann <soren.brinkmann@xilinx.com>

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   6ccc4c949a216b74368d280af00ac0cecf6fea07
commit: 3780469dd372e934445de2fbb5e8cf6e712b9b99 [842/1698] spi: Add Zynq QSPI controller driver
:::::: branch date: 3 hours ago
:::::: commit date: 9 months ago
config: microblaze-randconfig-s031-20210121 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-208-g46a52ca4-dirty
        # https://github.com/Xilinx/linux-xlnx/commit/3780469dd372e934445de2fbb5e8cf6e712b9b99
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx xlnx_rebase_v5.4
        git checkout 3780469dd372e934445de2fbb5e8cf6e712b9b99
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=microblaze 

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


"sparse warnings: (new ones prefixed by >>)"
   drivers/spi/spi-mem.c: note: in included file (through include/linux/mtd/spi-nor.h):
>> include/linux/mtd/cfi.h:62:2: sparse: sparse: No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
   drivers/spi/spi-mem.c:18:6: sparse: sparse: symbol 'update_stripe' was not declared. Should it be static?

vim +62 include/linux/mtd/cfi.h

^1da177e4c3f4152 Linus Torvalds  2005-04-16  60  
241651d04d672fb6 David Woodhouse 2007-09-06  61  #ifndef cfi_interleave
241651d04d672fb6 David Woodhouse 2007-09-06 @62  #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
241651d04d672fb6 David Woodhouse 2007-09-06  63  static inline int cfi_interleave(void *cfi)
241651d04d672fb6 David Woodhouse 2007-09-06  64  {
241651d04d672fb6 David Woodhouse 2007-09-06  65  	BUG();
241651d04d672fb6 David Woodhouse 2007-09-06  66  	return 0;
241651d04d672fb6 David Woodhouse 2007-09-06  67  }
241651d04d672fb6 David Woodhouse 2007-09-06  68  #endif
241651d04d672fb6 David Woodhouse 2007-09-06  69  

:::::: The code at line 62 was first introduced by commit
:::::: 241651d04d672fb685b2874707016cbbf95931e5 [MTD] Fix CFI build error when no map width or interleave supported

:::::: TO: David Woodhouse <dwmw2@infradead.org>
:::::: CC: David Woodhouse <dwmw2@infradead.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 24574 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-21 18:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-21 18:16 [xlnx:xlnx_rebase_v5.4 842/1698] include/linux/mtd/cfi.h:62:2: sparse: sparse: No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.