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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94EB9C7618D for ; Thu, 6 Apr 2023 10:09:03 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 310156B0080; Thu, 6 Apr 2023 06:09:03 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2BF466B00A4; Thu, 6 Apr 2023 06:09:03 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 188056B00A5; Thu, 6 Apr 2023 06:09:03 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 055216B0080 for ; Thu, 6 Apr 2023 06:09:03 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id AA1934123B for ; Thu, 6 Apr 2023 10:09:02 +0000 (UTC) X-FDA: 80650542924.27.626B4CB Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by imf27.hostedemail.com (Postfix) with ESMTP id 6D1064001B for ; Thu, 6 Apr 2023 10:08:58 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=fuDEPcu9; spf=pass (imf27.hostedemail.com: domain of lkp@intel.com designates 192.55.52.151 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1680775740; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=B952Q7ylHDmnXj6KbPHi1uk1pMKuNO4aYQ3RrAdrNYE=; b=iIM+/iPaK0Fgumo/AKykeUZVXva/4BiUsUJuxiYOZIBe+59VSfohBEMmcV584QTEzxxPB3 lXbMhc+BiWL32opR0ZNCk8UmbazpiBom3a6RSM7UXHs+XCb/CP8n8EsZmqwFZSp0O4OxcZ kFtX/j4rA+Twb/vnQNIC9Xi+0V721uM= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=fuDEPcu9; spf=pass (imf27.hostedemail.com: domain of lkp@intel.com designates 192.55.52.151 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1680775740; a=rsa-sha256; cv=none; b=PrfaVzPL8k71DRt8kRLxMMLzOmLZcUVlDVQNesVrm9GHo1qsvLEoCQEer36yyxw4Emr3oh i5OKPs2J2Ip/oYvK71k/pU4Xl2aNom3GuqLNEsvA3Lelo3iWBS+mM7KJ10FbvcRWgOnmHg IXj/ROQoXkBqhSvSJmUfS/yV+tUsrlk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1680775738; x=1712311738; h=date:from:to:cc:subject:message-id:mime-version; bh=AS6IF4ugLdcPyMI8SEZisJJpmDNET0nTZY9s8WqA3zA=; b=fuDEPcu9eteJazD7coNg9OXWblwG26Ut2emVFFZju9LZAJeRkP65Csvn gmQh3EUPGzmJe6WsvILhoTtthjkKWFiFEAaSJDcg3DVa4gaeb/BRWB24M V3vQM1E0gQI9ci56fU4NYflH9UWwfvLWLShne9ePPeRd0D3Pn+XyS+9R7 90dkIQ3zgJqFysY//BsI7BCzkf6MeGwFO8I3s+/ha+DnCfqTVu49A7P94 YAYXoKKzWLUXL/zBzcgUYGrgKzfSbuYpfzg6peG9k1C9StqNwkieajxoi ItARSJOiQQDGpEllu5tIKRJ7x2AulgSdfGIKQUsd1f4uW3kJ3kU89iGP+ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10671"; a="323074869" X-IronPort-AV: E=Sophos;i="5.98,323,1673942400"; d="scan'208";a="323074869" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2023 03:08:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10671"; a="717399803" X-IronPort-AV: E=Sophos;i="5.98,323,1673942400"; d="scan'208";a="717399803" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by orsmga008.jf.intel.com with ESMTP; 06 Apr 2023 03:08:52 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pkMXv-000RI0-0r; Thu, 06 Apr 2023 10:08:47 +0000 Date: Thu, 6 Apr 2023 18:08:09 +0800 From: kernel test robot To: Steev Klimaszewski Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Luiz Augusto von Dentz , Bjorn Andersson Subject: [linux-next:master 7065/9787] drivers/bluetooth/hci_qca.c:1894:37: warning: unused variable 'qca_soc_data_wcn6855' Message-ID: <202304061839.hi01VPl1-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 6D1064001B X-Stat-Signature: e1666m7poh43sdqi1z8xunyxt6dsc4y4 X-Rspam-User: X-HE-Tag: 1680775738-635030 X-HE-Meta: U2FsdGVkX1/1DyXd5phk+vqLEyMsPY8uTflOWZFTWy9uFzPddqwhHPwCsqi1iu2WINPZJyPw2QlPq4SBKmqx3e+KYOsJvlgf3a8CRdr67t1b62t5aw3+ZCZSCC4+0P3sPDIpDMzTmwgvTPOB4L1HpQ9QsGUBZNQ+9avIFW7/rAVSfDWM+4cK0ObQaLyT0hoECwOpRkMR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wkPNB9rWyi8hBtUPAQJtNo2Z2QuYH8dDGeNtBjB7kUhhXL6B18NVdNOCfeyO6qKyPtx3s487bUGIu5vpRWw7MXrBFird1w5KwirKfxgD42PN0JgvLfHZbQKybFePI+XourzcdgUgbOcXsQYQ== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: e134c93f788fb93fd6a3ec3af9af850a2048c7e6 commit: e5a3f2af003660934e660d53cdc6302c6b94a70d [7065/9787] Bluetooth: hci_qca: Add support for QTI Bluetooth chip wcn6855 config: hexagon-randconfig-r041-20230404 (https://download.01.org/0day-ci/archive/20230406/202304061839.hi01VPl1-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 67409911353323ca5edf2049ef0df54132fa1ca7) 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/next/linux-next.git/commit/?id=e5a3f2af003660934e660d53cdc6302c6b94a70d git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout e5a3f2af003660934e660d53cdc6302c6b94a70d # 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 olddefconfig 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 | Link: https://lore.kernel.org/oe-kbuild-all/202304061839.hi01VPl1-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/bluetooth/hci_qca.c:23: In file included from include/linux/devcoredump.h:12: In file included from include/linux/scatterlist.h:9: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __raw_readb(PCI_IOBASE + addr); ~~~~~~~~~~ ^ include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu' #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) ^ In file included from drivers/bluetooth/hci_qca.c:23: In file included from include/linux/devcoredump.h:12: In file included from include/linux/scatterlist.h:9: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu' #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) ^ In file included from drivers/bluetooth/hci_qca.c:23: In file included from include/linux/devcoredump.h:12: In file included from include/linux/scatterlist.h:9: In file included from arch/hexagon/include/asm/io.h:334: include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writeb(value, PCI_IOBASE + addr); ~~~~~~~~~~ ^ include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); ~~~~~~~~~~ ^ include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); ~~~~~~~~~~ ^ >> drivers/bluetooth/hci_qca.c:1894:37: warning: unused variable 'qca_soc_data_wcn6855' [-Wunused-const-variable] static const struct qca_device_data qca_soc_data_wcn6855 = { ^ 7 warnings generated. vim +/qca_soc_data_wcn6855 +1894 drivers/bluetooth/hci_qca.c 1893 > 1894 static const struct qca_device_data qca_soc_data_wcn6855 = { 1895 .soc_type = QCA_WCN6855, 1896 .vregs = (struct qca_vreg []) { 1897 { "vddio", 5000 }, 1898 { "vddbtcxmx", 126000 }, 1899 { "vddrfacmn", 12500 }, 1900 { "vddrfa0p8", 102000 }, 1901 { "vddrfa1p7", 302000 }, 1902 { "vddrfa1p2", 257000 }, 1903 }, 1904 .num_vregs = 6, 1905 .capabilities = QCA_CAP_WIDEBAND_SPEECH | QCA_CAP_VALID_LE_STATES, 1906 }; 1907 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests