From: kernel test robot <lkp@intel.com>
To: Sean Wang <sean.wang@mediatek.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Marcel Holtmann <marcel@holtmann.org>
Subject: drivers/bluetooth/btmtkuart.c:1071:36: warning: 'mt7668_data' defined but not used
Date: Tue, 10 May 2022 05:37:25 +0800 [thread overview]
Message-ID: <202205100506.o9bhQ6UB-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9be9ed2612b5aedb52a2c240edb1630b6b743cb6
commit: 22eaf6c9946ae269061d95bb9ceee02524166474 Bluetooth: mediatek: add support for MediaTek MT7663U and MT7668U UART devices
date: 3 years, 2 months ago
config: x86_64-randconfig-r011-20220509 (https://download.01.org/0day-ci/archive/20220510/202205100506.o9bhQ6UB-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=22eaf6c9946ae269061d95bb9ceee02524166474
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 22eaf6c9946ae269061d95bb9ceee02524166474
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/bluetooth/ drivers/input/misc/ drivers/rtc/ drivers/scsi/
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/bluetooth/btmtkuart.c:1071:36: warning: 'mt7668_data' defined but not used [-Wunused-const-variable=]
1071 | static const struct btmtkuart_data mt7668_data = {
| ^~~~~~~~~~~
>> drivers/bluetooth/btmtkuart.c:1066:36: warning: 'mt7663_data' defined but not used [-Wunused-const-variable=]
1066 | static const struct btmtkuart_data mt7663_data = {
| ^~~~~~~~~~~
>> drivers/bluetooth/btmtkuart.c:1062:36: warning: 'mt7622_data' defined but not used [-Wunused-const-variable=]
1062 | static const struct btmtkuart_data mt7622_data = {
| ^~~~~~~~~~~
vim +/mt7668_data +1071 drivers/bluetooth/btmtkuart.c
1061
> 1062 static const struct btmtkuart_data mt7622_data = {
1063 .fwname = FIRMWARE_MT7622,
1064 };
1065
> 1066 static const struct btmtkuart_data mt7663_data = {
1067 .flags = BTMTKUART_FLAG_STANDALONE_HW,
1068 .fwname = FIRMWARE_MT7663,
1069 };
1070
> 1071 static const struct btmtkuart_data mt7668_data = {
1072 .flags = BTMTKUART_FLAG_STANDALONE_HW,
1073 .fwname = FIRMWARE_MT7668,
1074 };
1075
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-05-09 21:38 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=202205100506.o9bhQ6UB-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcel@holtmann.org \
--cc=sean.wang@mediatek.com \
/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®