CC: kbuild-...@lists.01.org
BCC: l...@intel.com
CC: Linux Memory Management List <linux...@kvack.org>
TO: Mika Westerberg <mika.westerb...@linux.intel.com>
CC: Mark Brown <broo...@kernel.org>
CC: Andy Shevchenko <andriy.shevche...@linux.intel.com>
CC: Mauro Lima <mauro.l...@eclypsium.com>
CC: Boris Brezillon <bbrezil...@kernel.org>
CC: Tudor Ambarus <tudor.amba...@microchip.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 
master
head:   adaedcf826dccf01b69d9a1f1997c9446c6b2c54
commit: e23e5a05d1fd9479586c40ffbcc056b3e34ef816 [5162/10053] mtd: spi-nor: 
intel-spi: Convert to SPI MEM
:::::: branch date: 20 hours ago
:::::: commit date: 2 weeks ago
config: riscv-randconfig-s031-20220302 
(https://download.01.org/0day-ci/archive/20220303/202203031444.pnxbft4u-...@intel.com/config)
compiler: riscv32-linux-gcc (GCC) 11.2.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.4-dirty
        # 
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e23e5a05d1fd9479586c40ffbcc056b3e34ef816
        git remote add linux-next 
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout e23e5a05d1fd9479586c40ffbcc056b3e34ef816
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 
CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=riscv 
SHELL=/bin/bash

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


sparse warnings: (new ones prefixed by >>)
   drivers/spi/spi-intel.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.

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

^1da177e4c3f415 Linus Torvalds  2005-04-16  60  
241651d04d672fb David Woodhouse 2007-09-06  61  #ifndef cfi_interleave
241651d04d672fb David Woodhouse 2007-09-06 @62  #warning No CONFIG_MTD_CFI_Ix 
selected. No NOR chip support can work.
241651d04d672fb David Woodhouse 2007-09-06  63  static inline int 
cfi_interleave(void *cfi)
241651d04d672fb David Woodhouse 2007-09-06  64  {
241651d04d672fb David Woodhouse 2007-09-06  65          BUG();
241651d04d672fb David Woodhouse 2007-09-06  66          return 0;
241651d04d672fb David Woodhouse 2007-09-06  67  }
241651d04d672fb David Woodhouse 2007-09-06  68  #endif
241651d04d672fb 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 <dw...@infradead.org>
:::::: CC: David Woodhouse <dw...@infradead.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org
_______________________________________________
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-le...@lists.01.org

Reply via email to