[xilinx-xlnx:xlnx_rebase_v5.15 848/872] include/linux/mtd/cfi.h:62:2: warning: #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
From: kernel test robot <hidden>
Date: 2022-02-08 01:10:31
Also in:
oe-kbuild-all
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15 head: 1183ce490adb103e5e569b8ebd74c50c885ddc05 commit: ad3ea50420b2f1742f84afbb0de7dd0b355298c2 [848/872] spi: spi-zynqmp-gqspi: Add dual parallel and stacked mode support in driver config: alpha-randconfig-r003-20220207 (https://download.01.org/0day-ci/archive/20220208/202202080937.gKkmvBdp-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 11.2.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/Xilinx/linux-xlnx/commit/ad3ea50420b2f1742f84afbb0de7dd0b355298c2 git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15 git checkout ad3ea50420b2f1742f84afbb0de7dd0b355298c2 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=alpha SHELL=/bin/bash drivers/spi/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <redacted> All warnings (new ones prefixed by >>): In file included from include/linux/mtd/spi-nor.h:10, from drivers/spi/spi-zynqmp-gqspi.c:26:
quoted
include/linux/mtd/cfi.h:62:2: warning: #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. [-Wcpp]
62 | #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work.
| ^~~~~~~
In file included from drivers/spi/spi-zynqmp-gqspi.c:13:
include/linux/firmware/xlnx-zynqmp.h:1301:12: warning: 'zynqmp_pm_fpga_get_feature_list' defined but not used [-Wunused-function]
1301 | static int zynqmp_pm_fpga_get_feature_list(u32 *value)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/firmware/xlnx-zynqmp.h:1296:12: warning: 'zynqmp_pm_fpga_get_version' defined but not used [-Wunused-function]
1296 | static int zynqmp_pm_fpga_get_version(u32 *value)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/firmware/xlnx-zynqmp.h:1247:12: warning: 'zynqmp_pm_sec_mask_write_reg' defined but not used [-Wunused-function]
1247 | static int zynqmp_pm_sec_mask_write_reg(const u32 node_id, const u32 offset,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/firmware/xlnx-zynqmp.h:1242:12: warning: 'zynqmp_pm_sec_read_reg' defined but not used [-Wunused-function]
1242 | static int zynqmp_pm_sec_read_reg(u32 node_id, u32 offset, u32 *ret_value)
| ^~~~~~~~~~~~~~~~~~~~~~
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 [off-list ref]
:::::: CC: David Woodhouse [off-list ref]
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel