From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============8365195080367288201==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH] mfd: sprd: Add SPI device ID table Date: Thu, 03 Feb 2022 06:19:20 +0800 Message-ID: <202202030612.SNF98yc5-lkp@intel.com> In-Reply-To: <20220202144336.16514-1-broonie@kernel.org> List-Id: --===============8365195080367288201== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Mark, I love your patch! Yet something to improve: [auto build test ERROR on lee-mfd/for-mfd-next] [also build test ERROR on linux/master linus/master v5.17-rc2 next-20220202] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Mark-Brown/mfd-sprd-Add-SP= I-device-ID-table/20220202-225306 base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd= -next config: alpha-allmodconfig (https://download.01.org/0day-ci/archive/2022020= 3/202202030612.SNF98yc5-lkp(a)intel.com/config) compiler: alpha-linux-gcc (GCC) 11.2.0 reproduce (this is a W=3D1 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/0day-ci/linux/commit/58e9e172a84cdd6af58985e73= 93703b5c2d23967 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Mark-Brown/mfd-sprd-Add-SPI-device= -ID-table/20220202-225306 git checkout 58e9e172a84cdd6af58985e7393703b5c2d23967 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Dalpha SHELL=3D/bin/bash drivers/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/mfd/sprd-sc27xx-spi.c:255:35: error: redefinition of 'sprd_pmic_= spi_ids' 255 | static const struct spi_device_id sprd_pmic_spi_ids[] =3D { | ^~~~~~~~~~~~~~~~~ drivers/mfd/sprd-sc27xx-spi.c:242:35: note: previous definition of 'sprd= _pmic_spi_ids' with type 'const struct spi_device_id[2]' 242 | static const struct spi_device_id sprd_pmic_spi_ids[] =3D { | ^~~~~~~~~~~~~~~~~ vim +/sprd_pmic_spi_ids +255 drivers/mfd/sprd-sc27xx-spi.c 25ca4ae43466a4 Baolin Wang 2017-11-01 254 = c5c7f067710705 Mark Brown 2021-09-24 @255 static const struct spi_device_= id sprd_pmic_spi_ids[] =3D { c5c7f067710705 Mark Brown 2021-09-24 256 { .name =3D "sc2731", .driver_= data =3D (unsigned long)&sc2731_data }, c5c7f067710705 Mark Brown 2021-09-24 257 {}, c5c7f067710705 Mark Brown 2021-09-24 258 }; c5c7f067710705 Mark Brown 2021-09-24 259 MODULE_DEVICE_TABLE(spi, sprd_p= mic_spi_ids); c5c7f067710705 Mark Brown 2021-09-24 260 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============8365195080367288201==--