From: kernel test robot <lkp@intel.com>
To: Axel Lin <axel.lin@ingics.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Mark Brown <broonie@kernel.org>
Subject: drivers/spi/spi-rockchip.c:891:34: warning: 'rockchip_spi_dt_match' defined but not used
Date: Sun, 5 Nov 2023 14:02:29 +0800 [thread overview]
Message-ID: <202311051312.XPufwrD5-lkp@intel.com> (raw)
Hi Axel,
FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: aea6bf908d730b01bd264a8821159db9463c111c
commit: 46cb41534a1a1d1f75aae5eab0dd8c06a9461e6b spi: Drop unnecessary dependencies on relaxed I/O accessors
date: 8 years ago
config: i386-buildonly-randconfig-005-20231101 (https://download.01.org/0day-ci/archive/20231105/202311051312.XPufwrD5-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231105/202311051312.XPufwrD5-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311051312.XPufwrD5-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/spi/spi-rockchip.c:891:34: warning: 'rockchip_spi_dt_match' defined but not used [-Wunused-const-variable=]
891 | static const struct of_device_id rockchip_spi_dt_match[] = {
| ^~~~~~~~~~~~~~~~~~~~~
vim +/rockchip_spi_dt_match +891 drivers/spi/spi-rockchip.c
64e36824b32b06 addy ke 2014-07-01 890
64e36824b32b06 addy ke 2014-07-01 @891 static const struct of_device_id rockchip_spi_dt_match[] = {
64e36824b32b06 addy ke 2014-07-01 892 { .compatible = "rockchip,rk3066-spi", },
b839b785182497 Addy Ke 2014-07-11 893 { .compatible = "rockchip,rk3188-spi", },
b839b785182497 Addy Ke 2014-07-11 894 { .compatible = "rockchip,rk3288-spi", },
9b7a56221590ca Xu Jianqun 2016-02-18 895 { .compatible = "rockchip,rk3399-spi", },
64e36824b32b06 addy ke 2014-07-01 896 { },
64e36824b32b06 addy ke 2014-07-01 897 };
64e36824b32b06 addy ke 2014-07-01 898 MODULE_DEVICE_TABLE(of, rockchip_spi_dt_match);
64e36824b32b06 addy ke 2014-07-01 899
:::::: The code at line 891 was first introduced by commit
:::::: 64e36824b32b061a9537dc2e026977806f75846f spi/rockchip: add driver for Rockchip RK3xxx SoCs integrated SPI
:::::: TO: addy ke <addy.ke@rock-chips.com>
:::::: CC: Mark Brown <broonie@linaro.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-11-05 6:04 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=202311051312.XPufwrD5-lkp@intel.com \
--to=lkp@intel.com \
--cc=axel.lin@ingics.com \
--cc=broonie@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@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
all inboxes | Powered by JetHome®