CC: [email protected] BCC: [email protected] CC: [email protected] TO: Mika Westerberg <[email protected]> CC: Mark Brown <[email protected]> CC: Andy Shevchenko <[email protected]> CC: Mauro Lima <[email protected]> CC: Boris Brezillon <[email protected]> CC: Tudor Ambarus <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ae085d7f9365de7da27ab5c0d16b12d51ea7fca9 commit: e23e5a05d1fd9479586c40ffbcc056b3e34ef816 mtd: spi-nor: intel-spi: Convert to SPI MEM date: 6 weeks ago :::::: branch date: 9 hours ago :::::: commit date: 6 weeks ago config: i386-randconfig-s002-20220328 (https://download.01.org/0day-ci/archive/20220328/[email protected]/config) compiler: gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 reproduce: # apt-get install sparse # sparse version: v0.6.4-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e23e5a05d1fd9479586c40ffbcc056b3e34ef816 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout e23e5a05d1fd9479586c40ffbcc056b3e34ef816 # save the config file to linux build tree mkdir build_dir make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/ drivers/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> 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 ^1da177e4c3f41 Linus Torvalds 2005-04-16 60 241651d04d672f David Woodhouse 2007-09-06 61 #ifndef cfi_interleave 241651d04d672f David Woodhouse 2007-09-06 @62 #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. 241651d04d672f David Woodhouse 2007-09-06 63 static inline int cfi_interleave(void *cfi) 241651d04d672f David Woodhouse 2007-09-06 64 { 241651d04d672f David Woodhouse 2007-09-06 65 BUG(); 241651d04d672f David Woodhouse 2007-09-06 66 return 0; 241651d04d672f David Woodhouse 2007-09-06 67 } 241651d04d672f David Woodhouse 2007-09-06 68 #endif 241651d04d672f 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 <[email protected]> :::::: CC: David Woodhouse <[email protected]> -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
