From: kernel test robot <lkp@intel.com>
To: Nathan Chancellor <nathan@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org, Hans de Goede <hdegoede@redhat.com>,
Nick Desaulniers <ndesaulniers@google.com>
Subject: drivers/platform/x86/thinkpad_acpi.c:4475:35: error: unused variable 'fwbug_cards_ids'
Date: Sun, 14 Nov 2021 11:10:00 +0800 [thread overview]
Message-ID: <202111141153.mtggZgGq-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2577 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c8c109546a19613d323a319d0c921cb1f317e629
commit: fd96e35ea7b95f1e216277805be89d66e4ae962d platform/x86: thinkpad_acpi: Fix bitwise vs. logical warning
date: 4 weeks ago
config: i386-buildonly-randconfig-r005-20211114 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c3dddeeafb529e769cde87bd29ef6271ac6bfa5c)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fd96e35ea7b95f1e216277805be89d66e4ae962d
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout fd96e35ea7b95f1e216277805be89d66e4ae962d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=i386
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/platform/x86/thinkpad_acpi.c:4475:35: error: unused variable 'fwbug_cards_ids' [-Werror,-Wunused-const-variable]
static const struct pci_device_id fwbug_cards_ids[] __initconst = {
^
1 error generated.
vim +/fwbug_cards_ids +4475 drivers/platform/x86/thinkpad_acpi.c
f7db839fccf087 Jiaxun Yang 2019-03-07 4474
f7db839fccf087 Jiaxun Yang 2019-03-07 @4475 static const struct pci_device_id fwbug_cards_ids[] __initconst = {
f7db839fccf087 Jiaxun Yang 2019-03-07 4476 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x24F3) },
f7db839fccf087 Jiaxun Yang 2019-03-07 4477 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x24FD) },
f7db839fccf087 Jiaxun Yang 2019-03-07 4478 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x2526) },
f7db839fccf087 Jiaxun Yang 2019-03-07 4479 {}
f7db839fccf087 Jiaxun Yang 2019-03-07 4480 };
f7db839fccf087 Jiaxun Yang 2019-03-07 4481
f7db839fccf087 Jiaxun Yang 2019-03-07 4482
:::::: The code at line 4475 was first introduced by commit
:::::: f7db839fccf087664e5587966220821289b6a9cb platform/x86: thinkpad_acpi: Disable Bluetooth for some machines
:::::: TO: Jiaxun Yang <jiaxun.yang@flygoat.com>
:::::: CC: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
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: 33718 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: drivers/platform/x86/thinkpad_acpi.c:4475:35: error: unused variable 'fwbug_cards_ids'
Date: Sun, 14 Nov 2021 11:10:00 +0800 [thread overview]
Message-ID: <202111141153.mtggZgGq-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2627 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c8c109546a19613d323a319d0c921cb1f317e629
commit: fd96e35ea7b95f1e216277805be89d66e4ae962d platform/x86: thinkpad_acpi: Fix bitwise vs. logical warning
date: 4 weeks ago
config: i386-buildonly-randconfig-r005-20211114 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c3dddeeafb529e769cde87bd29ef6271ac6bfa5c)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fd96e35ea7b95f1e216277805be89d66e4ae962d
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout fd96e35ea7b95f1e216277805be89d66e4ae962d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=i386
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/platform/x86/thinkpad_acpi.c:4475:35: error: unused variable 'fwbug_cards_ids' [-Werror,-Wunused-const-variable]
static const struct pci_device_id fwbug_cards_ids[] __initconst = {
^
1 error generated.
vim +/fwbug_cards_ids +4475 drivers/platform/x86/thinkpad_acpi.c
f7db839fccf087 Jiaxun Yang 2019-03-07 4474
f7db839fccf087 Jiaxun Yang 2019-03-07 @4475 static const struct pci_device_id fwbug_cards_ids[] __initconst = {
f7db839fccf087 Jiaxun Yang 2019-03-07 4476 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x24F3) },
f7db839fccf087 Jiaxun Yang 2019-03-07 4477 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x24FD) },
f7db839fccf087 Jiaxun Yang 2019-03-07 4478 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x2526) },
f7db839fccf087 Jiaxun Yang 2019-03-07 4479 {}
f7db839fccf087 Jiaxun Yang 2019-03-07 4480 };
f7db839fccf087 Jiaxun Yang 2019-03-07 4481
f7db839fccf087 Jiaxun Yang 2019-03-07 4482
:::::: The code at line 4475 was first introduced by commit
:::::: f7db839fccf087664e5587966220821289b6a9cb platform/x86: thinkpad_acpi: Disable Bluetooth for some machines
:::::: TO: Jiaxun Yang <jiaxun.yang@flygoat.com>
:::::: CC: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 33718 bytes --]
next reply other threads:[~2021-11-14 3:10 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-14 3:10 kernel test robot [this message]
2021-11-14 3:10 ` drivers/platform/x86/thinkpad_acpi.c:4475:35: error: unused variable 'fwbug_cards_ids' kernel test robot
2021-11-14 11:42 ` Andy Shevchenko
2021-11-14 11:42 ` Andy Shevchenko
2021-11-14 11:46 ` Andy Shevchenko
2021-11-14 11:46 ` Andy Shevchenko
2021-11-16 10:26 ` Hans de Goede
2021-11-16 10:26 ` Hans de Goede
2021-11-16 12:34 ` [kbuild-all] " Philip Li
2021-11-16 12:34 ` Philip Li
2021-11-16 12:40 ` [kbuild-all] " Hans de Goede
2021-11-16 12:40 ` Hans de Goede
2021-11-16 14:26 ` [kbuild-all] " Philip Li
2021-11-16 14:26 ` Philip Li
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=202111141153.mtggZgGq-lkp@intel.com \
--to=lkp@intel.com \
--cc=hdegoede@redhat.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.