LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [linux-stable-rc:linux-5.10.y 3/1438] drivers/bluetooth/hci_ll.c:768:34: warning: unused variable 'hci_ti_of_match'
@ 2021-08-04  4:30 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-04  4:30 UTC (permalink / raw)
  To: Sid Manning
  Cc: clang-built-linux, kbuild-all, linux-kernel, Greg Kroah-Hartman,
	Brian Cain, Nick Desaulniers

[-- Attachment #1: Type: text/plain, Size: 3911 bytes --]

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@intel.com>

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@kernel.org>
:::::: CC: Marcel Holtmann <marcel@holtmann.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: 26415 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-04  4:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-04  4:30 [linux-stable-rc:linux-5.10.y 3/1438] drivers/bluetooth/hci_ll.c:768:34: warning: unused variable 'hci_ti_of_match' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).