From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 930A9C43334 for ; Thu, 16 Jun 2022 12:04:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377043AbiFPMEC (ORCPT ); Thu, 16 Jun 2022 08:04:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377032AbiFPMEB (ORCPT ); Thu, 16 Jun 2022 08:04:01 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 457665DD3D for ; Thu, 16 Jun 2022 05:04:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655381040; x=1686917040; h=date:from:to:cc:subject:message-id:mime-version; bh=2kR2Ok5bcpn2wj7M/9J9IniP7ZhPLw91TlhNNniyR9U=; b=NpU3ZM3VXzIRs5dq57aQTRsT38gLrlYWebkfBAiuDx9HUL4XFkm1fBu7 sc8lihbxXuF1mXZlLEGMAMFguOOwwjB3dVhsU/0yPqq+tOkBSQmOAi2ui pRvYdNiyjaWsliiERy5Ts9+eRUdKT95gTk5IO7d1fEZg9PWkpWQO47UyQ aaLaqC+G5kR4iz1379liOHahCgb6IwQtTBLtkuIInMl9EA05SeR5rXoIY L8SiYyFAghyxEjZ4P0fqSjhXGascp8qxmzXFGg3ymbWFsHNKxFagN50q6 O9OAXQunbOnEBABopBI4B+9wA9hPGGrBBLiV0qTXQw1EIzNeEh/Is8Rca A==; X-IronPort-AV: E=McAfee;i="6400,9594,10379"; a="304674104" X-IronPort-AV: E=Sophos;i="5.91,305,1647327600"; d="scan'208";a="304674104" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2022 05:04:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,305,1647327600"; d="scan'208";a="674990511" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 16 Jun 2022 05:03:58 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1o1oE9-000OLh-Ss; Thu, 16 Jun 2022 12:03:57 +0000 Date: Thu, 16 Jun 2022 20:03:21 +0800 From: kernel test robot To: Venkata Lakshmi Narayana Gubba Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Marcel Holtmann Subject: drivers/bluetooth/hci_qca.c:1860:37: warning: unused variable 'qca_soc_data_wcn6750' Message-ID: <202206161902.21jQwI1B-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Venkata, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 30306f6194cadcc29c77f6ddcd416a75bf5c0232 commit: d8f97da1b92d2fe89d51c673ecf80c4016119e5c Bluetooth: hci_qca: Add support for QTI Bluetooth chip wcn6750 date: 12 months ago config: hexagon-randconfig-r041-20220616 (https://download.01.org/0day-ci/archive/20220616/202206161902.21jQwI1B-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project f0e608de27b3d568000046eebf3712ab542979d6) 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=hexagon SHELL=/bin/bash drivers/bluetooth/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot 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:1855:37: warning: unused variable 'qca_soc_data_qca6390' [-Wunused-const-variable] static const struct qca_device_data qca_soc_data_qca6390 = { ^ >> 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 = { ^ 5 warnings generated. vim +/qca_soc_data_wcn6750 +1860 drivers/bluetooth/hci_qca.c 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