From: kernel test robot <lkp@intel.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
linux-kernel@vger.kernel.org,
Ulf Hansson <ulf.hansson@linaro.org>
Subject: drivers/mmc/host/sunxi-mmc.c:1181:34: warning: unused variable 'sunxi_mmc_of_match'
Date: Mon, 26 Oct 2020 14:00:56 +0800 [thread overview]
Message-ID: <202010261451.N9cm8bod-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3295 bytes --]
Hi Krzysztof,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 3650b228f83adda7e5ee532e2b90429c03f7b9ec
commit: 54d8454436a205682bd89d66d8d9eedbc8452d15 mmc: host: Enable compile testing of multiple drivers
date: 7 weeks ago
config: x86_64-randconfig-r036-20201026 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project f2c25c70791de95d2466e09b5b58fc37f6ccd7a4)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=54d8454436a205682bd89d66d8d9eedbc8452d15
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 54d8454436a205682bd89d66d8d9eedbc8452d15
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/mmc/host/sunxi-mmc.c:1181:34: warning: unused variable 'sunxi_mmc_of_match' [-Wunused-const-variable]
static const struct of_device_id sunxi_mmc_of_match[] = {
^
1 warning generated.
vim +/sunxi_mmc_of_match +1181 drivers/mmc/host/sunxi-mmc.c
4fb3ce07eafa9d Maxime Ripard 2017-01-27 1180
86a93317ed71f9 Hans de Goede 2016-07-30 @1181 static const struct of_device_id sunxi_mmc_of_match[] = {
86a93317ed71f9 Hans de Goede 2016-07-30 1182 { .compatible = "allwinner,sun4i-a10-mmc", .data = &sun4i_a10_cfg },
86a93317ed71f9 Hans de Goede 2016-07-30 1183 { .compatible = "allwinner,sun5i-a13-mmc", .data = &sun5i_a13_cfg },
b465646ef41f2f Hans de Goede 2016-07-30 1184 { .compatible = "allwinner,sun7i-a20-mmc", .data = &sun7i_a20_cfg },
ac98caefe18ab8 Chen-Yu Tsai 2017-07-24 1185 { .compatible = "allwinner,sun8i-a83t-emmc", .data = &sun8i_a83t_emmc_cfg },
86a93317ed71f9 Hans de Goede 2016-07-30 1186 { .compatible = "allwinner,sun9i-a80-mmc", .data = &sun9i_a80_cfg },
e1b8dfd1b1c61b Icenowy Zheng 2016-08-05 1187 { .compatible = "allwinner,sun50i-a64-mmc", .data = &sun50i_a64_cfg },
4fb3ce07eafa9d Maxime Ripard 2017-01-27 1188 { .compatible = "allwinner,sun50i-a64-emmc", .data = &sun50i_a64_emmc_cfg },
86a93317ed71f9 Hans de Goede 2016-07-30 1189 { /* sentinel */ }
86a93317ed71f9 Hans de Goede 2016-07-30 1190 };
86a93317ed71f9 Hans de Goede 2016-07-30 1191 MODULE_DEVICE_TABLE(of, sunxi_mmc_of_match);
86a93317ed71f9 Hans de Goede 2016-07-30 1192
:::::: The code at line 1181 was first introduced by commit
:::::: 86a93317ed71f9ad8bca7baff12930c47c235f80 mmc: sunxi: Introduce a sunxi_mmc_cfg struct
:::::: TO: Hans de Goede <hdegoede@redhat.com>
:::::: CC: Ulf Hansson <ulf.hansson@linaro.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 40739 bytes --]
next reply other threads:[~2020-10-26 6:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-26 6:00 kernel test robot [this message]
2020-10-26 11:35 ` Krzysztof Kozlowski
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=202010261451.N9cm8bod-lkp@intel.com \
--to=lkp@intel.com \
--cc=clang-built-linux@googlegroups.com \
--cc=kbuild-all@lists.01.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ulf.hansson@linaro.org \
/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®