lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202210030858.hdm07sqD-lkp@intel.com>
Date:   Mon, 3 Oct 2022 08:43:40 +0800
From:   kernel test robot <lkp@...el.com>
To:     Venkata Lakshmi Narayana Gubba <gubbaven@...eaurora.org>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Marcel Holtmann <marcel@...tmann.org>
Subject: drivers/bluetooth/hci_qca.c:1860:37: warning: unused variable
 'qca_soc_data_wcn6750'

Hi Venkata,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   4fe89d07dcc2804c8b562f6c7896a45643d34b2f
commit: d8f97da1b92d2fe89d51c673ecf80c4016119e5c Bluetooth: hci_qca: Add support for QTI Bluetooth chip wcn6750
date:   1 year, 3 months ago
config: i386-randconfig-a003-20221003
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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=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
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/bluetooth/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>

All warnings (new ones prefixed by >>):

   drivers/bluetooth/hci_qca.c:1821:37: warning: unused variable 'qca_soc_data_wcn3990' [-Wunused-const-variable]
   static const struct qca_device_data qca_soc_data_wcn3990 = {
                                       ^
   drivers/bluetooth/hci_qca.c:1832:37: warning: unused variable 'qca_soc_data_wcn3991' [-Wunused-const-variable]
   static const struct qca_device_data qca_soc_data_wcn3991 = {
                                       ^
   drivers/bluetooth/hci_qca.c:1844:37: warning: unused variable 'qca_soc_data_wcn3998' [-Wunused-const-variable]
   static const struct qca_device_data qca_soc_data_wcn3998 = {
                                       ^
>> drivers/bluetooth/hci_qca.c:1860:37: warning: unused variable 'qca_soc_data_wcn6750' [-Wunused-const-variable]
   static const struct qca_device_data qca_soc_data_wcn6750 = {
                                       ^
   4 warnings generated.


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

  1820	
> 1821	static const struct qca_device_data qca_soc_data_wcn3990 = {
  1822		.soc_type = QCA_WCN3990,
  1823		.vregs = (struct qca_vreg []) {
  1824			{ "vddio", 15000  },
  1825			{ "vddxo", 80000  },
  1826			{ "vddrf", 300000 },
  1827			{ "vddch0", 450000 },
  1828		},
  1829		.num_vregs = 4,
  1830	};
  1831	
  1832	static const struct qca_device_data qca_soc_data_wcn3991 = {
  1833		.soc_type = QCA_WCN3991,
  1834		.vregs = (struct qca_vreg []) {
  1835			{ "vddio", 15000  },
  1836			{ "vddxo", 80000  },
  1837			{ "vddrf", 300000 },
  1838			{ "vddch0", 450000 },
  1839		},
  1840		.num_vregs = 4,
  1841		.capabilities = QCA_CAP_WIDEBAND_SPEECH | QCA_CAP_VALID_LE_STATES,
  1842	};
  1843	
  1844	static const struct qca_device_data qca_soc_data_wcn3998 = {
  1845		.soc_type = QCA_WCN3998,
  1846		.vregs = (struct qca_vreg []) {
  1847			{ "vddio", 10000  },
  1848			{ "vddxo", 80000  },
  1849			{ "vddrf", 300000 },
  1850			{ "vddch0", 450000 },
  1851		},
  1852		.num_vregs = 4,
  1853	};
  1854	
  1855	static const struct qca_device_data qca_soc_data_qca6390 = {
  1856		.soc_type = QCA_QCA6390,
  1857		.num_vregs = 0,
  1858	};
  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

View attachment "config" of type "text/plain" (138993 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ