All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: drivers/bluetooth/hci_qca.c:1692:35: warning: unused variable 'qca_soc_data_wcn3990'
Date: Mon, 29 Jun 2020 23:44:03 +0800	[thread overview]
Message-ID: <202006292354.uL41Cdtb%lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68
commit: e5d6468fe9d8dced9af0c548a359a7dbeb31c931 Bluetooth: hci_qca: Add support for Qualcomm Bluetooth SoC QCA6390
date:   3 months ago
config: arm-randconfig-r012-20200629 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project a28d38a6bca1726d56c9b373f4c7dc5264fc7716)
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
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        git checkout e5d6468fe9d8dced9af0c548a359a7dbeb31c931
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

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:1692:35: warning: unused variable 'qca_soc_data_wcn3990' [-Wunused-const-variable]
   static const struct qca_vreg_data qca_soc_data_wcn3990 = {
                                     ^
>> drivers/bluetooth/hci_qca.c:1703:35: warning: unused variable 'qca_soc_data_wcn3991' [-Wunused-const-variable]
   static const struct qca_vreg_data qca_soc_data_wcn3991 = {
                                     ^
>> drivers/bluetooth/hci_qca.c:1714:35: warning: unused variable 'qca_soc_data_wcn3998' [-Wunused-const-variable]
   static const struct qca_vreg_data qca_soc_data_wcn3998 = {
                                     ^
>> drivers/bluetooth/hci_qca.c:1725:35: warning: unused variable 'qca_soc_data_qca6390' [-Wunused-const-variable]
   static const struct qca_vreg_data qca_soc_data_qca6390 = {
                                     ^
   4 warnings generated.

vim +/qca_soc_data_wcn3990 +1692 drivers/bluetooth/hci_qca.c

0ff252c1976da5 Ben Young Tae Kim      2015-08-10  1691  
523760b7ff8871 Harish Bandi           2019-04-26 @1692  static const struct qca_vreg_data qca_soc_data_wcn3990 = {
fa9ad876b8e0eb Balakrishna Godavarthi 2018-08-03  1693  	.soc_type = QCA_WCN3990,
fa9ad876b8e0eb Balakrishna Godavarthi 2018-08-03  1694  	.vregs = (struct qca_vreg []) {
f2edd66e515b99 Bjorn Andersson        2019-10-17  1695  		{ "vddio", 15000  },
f2edd66e515b99 Bjorn Andersson        2019-10-17  1696  		{ "vddxo", 80000  },
f2edd66e515b99 Bjorn Andersson        2019-10-17  1697  		{ "vddrf", 300000 },
f2edd66e515b99 Bjorn Andersson        2019-10-17  1698  		{ "vddch0", 450000 },
fa9ad876b8e0eb Balakrishna Godavarthi 2018-08-03  1699  	},
fa9ad876b8e0eb Balakrishna Godavarthi 2018-08-03  1700  	.num_vregs = 4,
fa9ad876b8e0eb Balakrishna Godavarthi 2018-08-03  1701  };
fa9ad876b8e0eb Balakrishna Godavarthi 2018-08-03  1702  
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06 @1703  static const struct qca_vreg_data qca_soc_data_wcn3991 = {
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06  1704  	.soc_type = QCA_WCN3991,
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06  1705  	.vregs = (struct qca_vreg []) {
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06  1706  		{ "vddio", 15000  },
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06  1707  		{ "vddxo", 80000  },
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06  1708  		{ "vddrf", 300000 },
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06  1709  		{ "vddch0", 450000 },
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06  1710  	},
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06  1711  	.num_vregs = 4,
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06  1712  };
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06  1713  
523760b7ff8871 Harish Bandi           2019-04-26 @1714  static const struct qca_vreg_data qca_soc_data_wcn3998 = {
523760b7ff8871 Harish Bandi           2019-04-26  1715  	.soc_type = QCA_WCN3998,
523760b7ff8871 Harish Bandi           2019-04-26  1716  	.vregs = (struct qca_vreg []) {
f2edd66e515b99 Bjorn Andersson        2019-10-17  1717  		{ "vddio", 10000  },
f2edd66e515b99 Bjorn Andersson        2019-10-17  1718  		{ "vddxo", 80000  },
f2edd66e515b99 Bjorn Andersson        2019-10-17  1719  		{ "vddrf", 300000 },
f2edd66e515b99 Bjorn Andersson        2019-10-17  1720  		{ "vddch0", 450000 },
523760b7ff8871 Harish Bandi           2019-04-26  1721  	},
523760b7ff8871 Harish Bandi           2019-04-26  1722  	.num_vregs = 4,
523760b7ff8871 Harish Bandi           2019-04-26  1723  };
523760b7ff8871 Harish Bandi           2019-04-26  1724  
e5d6468fe9d8dc Rocky Liao             2020-03-25 @1725  static const struct qca_vreg_data qca_soc_data_qca6390 = {
e5d6468fe9d8dc Rocky Liao             2020-03-25  1726  	.soc_type = QCA_QCA6390,
e5d6468fe9d8dc Rocky Liao             2020-03-25  1727  	.num_vregs = 0,
e5d6468fe9d8dc Rocky Liao             2020-03-25  1728  };
e5d6468fe9d8dc Rocky Liao             2020-03-25  1729  

:::::: The code at line 1692 was first introduced by commit
:::::: 523760b7ff8871281aaedc44c305926469ab47f8 Bluetooth: hci_qca: Added support for WCN3998

:::::: TO: Harish Bandi <c-hbandi@codeaurora.org>
:::::: CC: Marcel Holtmann <marcel@holtmann.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Rocky Liao <rjliao@codeaurora.org>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	linux-kernel@vger.kernel.org,
	Marcel Holtmann <marcel@holtmann.org>
Subject: drivers/bluetooth/hci_qca.c:1692:35: warning: unused variable 'qca_soc_data_wcn3990'
Date: Mon, 29 Jun 2020 23:44:03 +0800	[thread overview]
Message-ID: <202006292354.uL41Cdtb%lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68
commit: e5d6468fe9d8dced9af0c548a359a7dbeb31c931 Bluetooth: hci_qca: Add support for Qualcomm Bluetooth SoC QCA6390
date:   3 months ago
config: arm-randconfig-r012-20200629 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project a28d38a6bca1726d56c9b373f4c7dc5264fc7716)
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
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        git checkout e5d6468fe9d8dced9af0c548a359a7dbeb31c931
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

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:1692:35: warning: unused variable 'qca_soc_data_wcn3990' [-Wunused-const-variable]
   static const struct qca_vreg_data qca_soc_data_wcn3990 = {
                                     ^
>> drivers/bluetooth/hci_qca.c:1703:35: warning: unused variable 'qca_soc_data_wcn3991' [-Wunused-const-variable]
   static const struct qca_vreg_data qca_soc_data_wcn3991 = {
                                     ^
>> drivers/bluetooth/hci_qca.c:1714:35: warning: unused variable 'qca_soc_data_wcn3998' [-Wunused-const-variable]
   static const struct qca_vreg_data qca_soc_data_wcn3998 = {
                                     ^
>> drivers/bluetooth/hci_qca.c:1725:35: warning: unused variable 'qca_soc_data_qca6390' [-Wunused-const-variable]
   static const struct qca_vreg_data qca_soc_data_qca6390 = {
                                     ^
   4 warnings generated.

vim +/qca_soc_data_wcn3990 +1692 drivers/bluetooth/hci_qca.c

0ff252c1976da5 Ben Young Tae Kim      2015-08-10  1691  
523760b7ff8871 Harish Bandi           2019-04-26 @1692  static const struct qca_vreg_data qca_soc_data_wcn3990 = {
fa9ad876b8e0eb Balakrishna Godavarthi 2018-08-03  1693  	.soc_type = QCA_WCN3990,
fa9ad876b8e0eb Balakrishna Godavarthi 2018-08-03  1694  	.vregs = (struct qca_vreg []) {
f2edd66e515b99 Bjorn Andersson        2019-10-17  1695  		{ "vddio", 15000  },
f2edd66e515b99 Bjorn Andersson        2019-10-17  1696  		{ "vddxo", 80000  },
f2edd66e515b99 Bjorn Andersson        2019-10-17  1697  		{ "vddrf", 300000 },
f2edd66e515b99 Bjorn Andersson        2019-10-17  1698  		{ "vddch0", 450000 },
fa9ad876b8e0eb Balakrishna Godavarthi 2018-08-03  1699  	},
fa9ad876b8e0eb Balakrishna Godavarthi 2018-08-03  1700  	.num_vregs = 4,
fa9ad876b8e0eb Balakrishna Godavarthi 2018-08-03  1701  };
fa9ad876b8e0eb Balakrishna Godavarthi 2018-08-03  1702  
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06 @1703  static const struct qca_vreg_data qca_soc_data_wcn3991 = {
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06  1704  	.soc_type = QCA_WCN3991,
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06  1705  	.vregs = (struct qca_vreg []) {
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06  1706  		{ "vddio", 15000  },
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06  1707  		{ "vddxo", 80000  },
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06  1708  		{ "vddrf", 300000 },
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06  1709  		{ "vddch0", 450000 },
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06  1710  	},
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06  1711  	.num_vregs = 4,
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06  1712  };
7d250a062f75e6 Balakrishna Godavarthi 2019-11-06  1713  
523760b7ff8871 Harish Bandi           2019-04-26 @1714  static const struct qca_vreg_data qca_soc_data_wcn3998 = {
523760b7ff8871 Harish Bandi           2019-04-26  1715  	.soc_type = QCA_WCN3998,
523760b7ff8871 Harish Bandi           2019-04-26  1716  	.vregs = (struct qca_vreg []) {
f2edd66e515b99 Bjorn Andersson        2019-10-17  1717  		{ "vddio", 10000  },
f2edd66e515b99 Bjorn Andersson        2019-10-17  1718  		{ "vddxo", 80000  },
f2edd66e515b99 Bjorn Andersson        2019-10-17  1719  		{ "vddrf", 300000 },
f2edd66e515b99 Bjorn Andersson        2019-10-17  1720  		{ "vddch0", 450000 },
523760b7ff8871 Harish Bandi           2019-04-26  1721  	},
523760b7ff8871 Harish Bandi           2019-04-26  1722  	.num_vregs = 4,
523760b7ff8871 Harish Bandi           2019-04-26  1723  };
523760b7ff8871 Harish Bandi           2019-04-26  1724  
e5d6468fe9d8dc Rocky Liao             2020-03-25 @1725  static const struct qca_vreg_data qca_soc_data_qca6390 = {
e5d6468fe9d8dc Rocky Liao             2020-03-25  1726  	.soc_type = QCA_QCA6390,
e5d6468fe9d8dc Rocky Liao             2020-03-25  1727  	.num_vregs = 0,
e5d6468fe9d8dc Rocky Liao             2020-03-25  1728  };
e5d6468fe9d8dc Rocky Liao             2020-03-25  1729  

:::::: The code at line 1692 was first introduced by commit
:::::: 523760b7ff8871281aaedc44c305926469ab47f8 Bluetooth: hci_qca: Added support for WCN3998

:::::: TO: Harish Bandi <c-hbandi@codeaurora.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: 33440 bytes --]

             reply	other threads:[~2020-06-29 15:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-29 15:44 kernel test robot [this message]
2020-06-29 15:44 ` drivers/bluetooth/hci_qca.c:1692:35: warning: unused variable 'qca_soc_data_wcn3990' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2020-07-05  1:28 kernel test robot
2020-07-05  1:28 ` kernel test robot
2020-09-10 18:41 kernel test robot
2020-09-10 18:41 ` kernel test robot
2020-09-13 11:59 kernel test robot
2020-09-13 11:59 ` kernel test robot
2021-05-03 23:02 kernel test robot
2021-05-03 23:02 ` kernel test robot
2021-09-29 17:35 kernel test robot
2021-09-29 17:35 ` kernel test robot
2021-11-06  5:14 kernel test robot
2021-11-06  5:14 ` 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=202006292354.uL41Cdtb%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.