LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Venkata Lakshmi Narayana Gubba <gubbaven@codeaurora.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org,
	Marcel Holtmann <marcel@holtmann.org>
Subject: drivers/bluetooth/hci_qca.c:1860:37: warning: unused variable 'qca_soc_data_wcn6750'
Date: Sun, 7 Nov 2021 14:38:09 +0800	[thread overview]
Message-ID: <202111071401.euLLYH7B-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   b5013d084e03e82ceeab4db8ae8ceeaebe76b0eb
commit: d8f97da1b92d2fe89d51c673ecf80c4016119e5c Bluetooth: hci_qca: Add support for QTI Bluetooth chip wcn6750
date:   4 months ago
config: x86_64-randconfig-r016-20210929 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 28981015526f2192440c18f18e8a20cd11b0779c)
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 attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64 

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: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, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 38208 bytes --]

             reply	other threads:[~2021-11-07  6:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-07  6:38 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-11-25 11:57 kernel test robot
2021-07-31 22:31 kernel test robot

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=202111071401.euLLYH7B-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=gubbaven@codeaurora.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=marcel@holtmann.org \
    --subject='Re: drivers/bluetooth/hci_qca.c:1860:37: warning: unused variable '\''qca_soc_data_wcn6750'\''' \
    /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

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).