lkml.org 
[lkml]   [2022]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectdrivers/bluetooth/hci_qca.c:1860:37: warning: 'qca_soc_data_wcn6750' defined but not used
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ec7f49619d8ee13e108740c82f942cd401b989e9
commit: d8f97da1b92d2fe89d51c673ecf80c4016119e5c Bluetooth: hci_qca: Add support for QTI Bluetooth chip wcn6750
date: 11 months ago
config: i386-randconfig-a014-20211210 (https://download.01.org/0day-ci/archive/20220514/202205141707.C0PnkKx4-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=d8f97da1b92d2fe89d51c673ecf80c4016119e5c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d8f97da1b92d2fe89d51c673ecf80c4016119e5c
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/bluetooth/

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_qca.c:1860:37: warning: 'qca_soc_data_wcn6750' defined but not used [-Wunused-const-variable=]
1860 | static const struct qca_device_data qca_soc_data_wcn6750 = {
| ^~~~~~~~~~~~~~~~~~~~
drivers/bluetooth/hci_qca.c:1844:37: warning: 'qca_soc_data_wcn3998' defined but not used [-Wunused-const-variable=]
1844 | static const struct qca_device_data qca_soc_data_wcn3998 = {
| ^~~~~~~~~~~~~~~~~~~~
drivers/bluetooth/hci_qca.c:1832:37: warning: 'qca_soc_data_wcn3991' defined but not used [-Wunused-const-variable=]
1832 | static const struct qca_device_data qca_soc_data_wcn3991 = {
| ^~~~~~~~~~~~~~~~~~~~
drivers/bluetooth/hci_qca.c:1821:37: warning: 'qca_soc_data_wcn3990' defined but not used [-Wunused-const-variable=]
1821 | static const struct qca_device_data qca_soc_data_wcn3990 = {
| ^~~~~~~~~~~~~~~~~~~~


vim +/qca_soc_data_wcn6750 +1860 drivers/bluetooth/hci_qca.c

1859
> 1860 static const struct qca_device_data qca_soc_data_wcn6750 = {
1861 .soc_type = QCA_WCN6750,
1862 .vregs = (struct qca_vreg []) {
1863 { "vddio", 5000 },
1864 { "vddaon", 26000 },
1865 { "vddbtcxmx", 126000 },
1866 { "vddrfacmn", 12500 },
1867 { "vddrfa0p8", 102000 },
1868 { "vddrfa1p7", 302000 },
1869 { "vddrfa1p2", 257000 },
1870 { "vddrfa2p2", 1700000 },
1871 { "vddasd", 200 },
1872 },
1873 .num_vregs = 9,
1874 .capabilities = QCA_CAP_WIDEBAND_SPEECH | QCA_CAP_VALID_LE_STATES,
1875 };
1876

--
0-DAY CI Kernel Test Service
https://01.org/lkp

\
 
 \ /
  Last update: 2022-05-14 11:32    [W:0.026 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site