From: kernel test robot <lkp@intel.com>
To: Mark Brown <broonie@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
Lee Jones <lee.jones@linaro.org>,
linux-kernel@vger.kernel.org
Subject: [lee-mfd:for-mfd-next 21/25] drivers/mfd/sprd-sc27xx-spi.c:255:35: error: redefinition of 'sprd_pmic_spi_ids'
Date: Wed, 23 Feb 2022 22:00:16 +0800 [thread overview]
Message-ID: <202202232155.xqGC3omU-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
head: 557bf686f1c6f8825ae44db732d42a60ad3b1437
commit: 6fc90b92e9c7ef3488e3ff7b6fa71f51a5272019 [21/25] mfd: sprd: Add SPI device ID table
config: riscv-randconfig-r042-20220221 (https://download.01.org/0day-ci/archive/20220223/202202232155.xqGC3omU-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
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 riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git/commit/?id=6fc90b92e9c7ef3488e3ff7b6fa71f51a5272019
git remote add lee-mfd https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git
git fetch --no-tags lee-mfd for-mfd-next
git checkout 6fc90b92e9c7ef3488e3ff7b6fa71f51a5272019
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/mfd/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/mfd/sprd-sc27xx-spi.c:255:35: error: redefinition of 'sprd_pmic_spi_ids'
static const struct spi_device_id sprd_pmic_spi_ids[] = {
^
drivers/mfd/sprd-sc27xx-spi.c:242:35: note: previous definition is here
static const struct spi_device_id sprd_pmic_spi_ids[] = {
^
1 error generated.
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[] = {
c5c7f067710705 Mark Brown 2021-09-24 256 { .name = "sc2731", .driver_data = (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_pmic_spi_ids);
c5c7f067710705 Mark Brown 2021-09-24 260
:::::: The code at line 255 was first introduced by commit
:::::: c5c7f0677107052060037583b9c8c15d818afb04 mfd: sprd: Add SPI device ID table
:::::: TO: Mark Brown <broonie@kernel.org>
:::::: CC: Lee Jones <lee.jones@linaro.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2022-02-23 14:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202202232155.xqGC3omU-lkp@intel.com \
--to=lkp@intel.com \
--cc=broonie@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox