[linux-stable-rc:linux-5.10.y 3/1438] drivers/bluetooth/hci_ll.c:768:34: warning: unused variable 'hci_ti_of_match'
From: kernel test robot
Date: Wed Aug 04 2021 - 00:32:54 EST
Hi Sid,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y
head: f9063e43ccbb353c5b2cafe59c6b9534aa7ddc14
commit: 243f325ecc902c9936d1edb838454f4a4dd75034 [3/1438] Hexagon: fix build errors
config: hexagon-buildonly-randconfig-r004-20210804 (attached as .config)
compiler: clang version 12.0.0
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/stable/linux-stable-rc.git/commit/?id=243f325ecc902c9936d1edb838454f4a4dd75034
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-5.10.y
git checkout 243f325ecc902c9936d1edb838454f4a4dd75034
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=hexagon
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All warnings (new ones prefixed by >>):
>> drivers/bluetooth/hci_ll.c:768:34: warning: unused variable 'hci_ti_of_match' [-Wunused-const-variable]
static const struct of_device_id hci_ti_of_match[] = {
^
1 warning generated.
--
>> net/bluetooth/hci_core.c:2109:26: warning: result of comparison of constant 65536 with expression of type '__u16' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
if (!dev_num || dev_num > (PAGE_SIZE * 2) / sizeof(*dr))
~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SND_SOC_MAX98357A
Depends on SOUND && !UML && SND && SND_SOC && GPIOLIB
Selected by
- SND_SOC_STORM && SOUND && !UML && SND && SND_SOC && SND_SOC_QCOM
vim +/hci_ti_of_match +768 drivers/bluetooth/hci_ll.c
371805522f8709 Rob Herring 2017-04-13 767
371805522f8709 Rob Herring 2017-04-13 @768 static const struct of_device_id hci_ti_of_match[] = {
4166493c97c0c7 David Lechner 2017-12-12 769 { .compatible = "ti,cc2560" },
c127a871357b8d Sebastian Reichel 2017-06-08 770 { .compatible = "ti,wl1271-st" },
c127a871357b8d Sebastian Reichel 2017-06-08 771 { .compatible = "ti,wl1273-st" },
c127a871357b8d Sebastian Reichel 2017-06-08 772 { .compatible = "ti,wl1281-st" },
c127a871357b8d Sebastian Reichel 2017-06-08 773 { .compatible = "ti,wl1283-st" },
c127a871357b8d Sebastian Reichel 2017-06-08 774 { .compatible = "ti,wl1285-st" },
c127a871357b8d Sebastian Reichel 2017-06-08 775 { .compatible = "ti,wl1801-st" },
c127a871357b8d Sebastian Reichel 2017-06-08 776 { .compatible = "ti,wl1805-st" },
c127a871357b8d Sebastian Reichel 2017-06-08 777 { .compatible = "ti,wl1807-st" },
371805522f8709 Rob Herring 2017-04-13 778 { .compatible = "ti,wl1831-st" },
371805522f8709 Rob Herring 2017-04-13 779 { .compatible = "ti,wl1835-st" },
371805522f8709 Rob Herring 2017-04-13 780 { .compatible = "ti,wl1837-st" },
371805522f8709 Rob Herring 2017-04-13 781 {},
371805522f8709 Rob Herring 2017-04-13 782 };
371805522f8709 Rob Herring 2017-04-13 783 MODULE_DEVICE_TABLE(of, hci_ti_of_match);
371805522f8709 Rob Herring 2017-04-13 784
:::::: The code at line 768 was first introduced by commit
:::::: 371805522f870986144fcd88727a47858e364a2c bluetooth: hci_uart: add LL protocol serdev driver support
:::::: TO: Rob Herring <robh@xxxxxxxxxx>
:::::: CC: Marcel Holtmann <marcel@xxxxxxxxxxxx>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip