Messages in this thread | | | Date | Sun, 12 Jun 2022 02:45:35 +0800 | From | kernel test robot <> | Subject | Re: [PATCH v10 net-next 7/7] mfd: ocelot: add support for the vsc7512 chip via spi |
| |
Hi Colin,
I love your patch! Yet something to improve:
[auto build test ERROR on net-next/master]
url: https://github.com/intel-lab-lkp/linux/commits/Colin-Foster/add-support-for-VSC7512-control-over-SPI/20220611-042931 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git b97dcb85750b7e8bc5aaed5403ddf4b0552c7993 config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220612/202206120247.2zx79Zg9-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project ff4abe755279a3a47cc416ef80dbc900d9a98a19) 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 # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/60523f7239bade660c86be121bd29954c24f53df git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Colin-Foster/add-support-for-VSC7512-control-over-SPI/20220611-042931 git checkout 60523f7239bade660c86be121bd29954c24f53df # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/
If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/mfd/ocelot-core.c:118:40: error: initializer element is not a compile-time constant .of_reg = vsc7512_miim0_resources[0].start, ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ 1 error generated.
vim +118 drivers/mfd/ocelot-core.c
103 104 static const struct mfd_cell vsc7512_devs[] = { 105 { 106 .name = "ocelot-pinctrl", 107 .of_compatible = "mscc,ocelot-pinctrl", 108 .num_resources = ARRAY_SIZE(vsc7512_pinctrl_resources), 109 .resources = vsc7512_pinctrl_resources, 110 }, { 111 .name = "ocelot-sgpio", 112 .of_compatible = "mscc,ocelot-sgpio", 113 .num_resources = ARRAY_SIZE(vsc7512_sgpio_resources), 114 .resources = vsc7512_sgpio_resources, 115 }, { 116 .name = "ocelot-miim0", 117 .of_compatible = "mscc,ocelot-miim", > 118 .of_reg = vsc7512_miim0_resources[0].start, 119 .use_of_reg = true, 120 .num_resources = ARRAY_SIZE(vsc7512_miim0_resources), 121 .resources = vsc7512_miim0_resources, 122 }, { 123 .name = "ocelot-miim1", 124 .of_compatible = "mscc,ocelot-miim", 125 .num_resources = ARRAY_SIZE(vsc7512_miim1_resources), 126 .of_reg = vsc7512_miim1_resources[0].start, 127 .use_of_reg = true, 128 .resources = vsc7512_miim1_resources, 129 }, 130 }; 131
-- 0-DAY CI Kernel Test Service https://01.org/lkp
| |