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 6745BC43334 for ; Thu, 14 Jul 2022 06:17:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DA42894018F; Thu, 14 Jul 2022 02:17:05 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D5230940134; Thu, 14 Jul 2022 02:17:05 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C426D94018F; Thu, 14 Jul 2022 02:17:05 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id B6218940134 for ; Thu, 14 Jul 2022 02:17:05 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 8E70120B85 for ; Thu, 14 Jul 2022 06:17:05 +0000 (UTC) X-FDA: 79684697610.11.AF6AC9B Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by imf22.hostedemail.com (Postfix) with ESMTP id 9373AC0078 for ; Thu, 14 Jul 2022 06:17:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657779424; x=1689315424; h=date:from:to:cc:subject:message-id:mime-version; bh=kXMbwDzdytJFyBADZiAzFuPD/6ct5HLfHQXDT4kh1Rg=; b=kIJko0lxUHHEije03t3wvVojSQ/ZBcP3BLCc0rFmnmh0w0p4sNAabmFr 4Cb3SeRvlE0Etrp1V8u+z8uwLaWN4itDXnVOQ4LRxfO6HCB/v9iHpD9gn 9U9waHshGx8niJkO881XNO3I705p/RHHd6iZc7PsPq61aeIgjLPhfUbAF tnGMWWbXKv0yBhqfcsojhIjwG4Jwg824vKgqrdlQ4xX8Ly/FwtoX+R2lZ YrRZsqsbL8Q9GJ9DPtBldsg79ATATHDNA85gz2zIiNrJi5iHkkBf3988G B1BP5BT1nAbgRPfoAQ6kSyRLIsqnFC5GiYeYYtXx2SBsaNsyepb2F5poK Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10407"; a="268458084" X-IronPort-AV: E=Sophos;i="5.92,269,1650956400"; d="scan'208";a="268458084" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2022 23:17:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,269,1650956400"; d="scan'208";a="595975949" Received: from lkp-server01.sh.intel.com (HELO fd2c14d642b4) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 13 Jul 2022 23:17:01 -0700 Received: from kbuild by fd2c14d642b4 with local (Exim 4.95) (envelope-from ) id 1oBs9l-0000IA-1q; Thu, 14 Jul 2022 06:17:01 +0000 Date: Thu, 14 Jul 2022 14:16:40 +0800 From: kernel test robot To: Arun Ramadoss Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List Subject: [linux-next:master 4365/10347] drivers/net/dsa/microchip/ksz_spi.c:132:34: warning: unused variable 'ksz_dt_ids' Message-ID: <202207141406.IF2aPRxC-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1657779425; 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=iLYFPYZOkESAlFDejxfCahMHi1zrDRiYEsEFXg8OPt0=; b=tyT9xZgQeXadV/8WdfoluBtrDTFdxoxojD8p3k4L0Xy+fv1aYusASZyUBQ+JOq/gjC4nAz rpcXGDq3elHZKFp/kfF1t79dzEaWaUW74I4WYPaKMwtsV8ZlkCjHoTVelKSEIDeWRnsY33 Bx2tqpcCwbVPCJ32JN898Nid/dCC5bU= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=kIJko0lx; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf22.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.126) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1657779425; a=rsa-sha256; cv=none; b=qa75bJFAYsndz2DH1A+/sVVIYKxoFiklg1y4Vu/MJXRMH319PIAgFV5FluZKLrbqf2yQad tlT3Vet6ieFszBSxT1f4N7eAGGOpR34lX0Yd1oqRnwI4SYeDtmEdMKZGCIxmvr8F59zp8I IsEYJQeAcbd6VDoM/CIUBA7BvQeYjyA= X-Stat-Signature: gb855rreizt6bmajzy6p4dimcysxjgty X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 9373AC0078 Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=kIJko0lx; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf22.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.126) smtp.mailfrom=lkp@intel.com X-Rspam-User: X-HE-Tag: 1657779424-853311 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000219, 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: 4662b7adea50bb62e993a67f611f3be625d3df0d commit: 4658f2fe8fbcb12c1db0577ad9c46b67f10d09f1 [4365/10347] net: dsa: microchip: common ksz_spi_probe for ksz switches config: hexagon-randconfig-r023-20220714 (https://download.01.org/0day-ci/archive/20220714/202207141406.IF2aPRxC-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5e61b9c556267086ef9b743a0b57df302eef831b) 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=4658f2fe8fbcb12c1db0577ad9c46b67f10d09f1 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 4658f2fe8fbcb12c1db0577ad9c46b67f10d09f1 # 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/net/dsa/microchip/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/net/dsa/microchip/ksz_spi.c:132:34: warning: unused variable 'ksz_dt_ids' [-Wunused-const-variable] static const struct of_device_id ksz_dt_ids[] = { ^ 1 warning generated. vim +/ksz_dt_ids +132 drivers/net/dsa/microchip/ksz_spi.c 131 > 132 static const struct of_device_id ksz_dt_ids[] = { 133 { 134 .compatible = "microchip,ksz8765", 135 .data = &ksz_switch_chips[KSZ8765] 136 }, 137 { 138 .compatible = "microchip,ksz8794", 139 .data = &ksz_switch_chips[KSZ8794] 140 }, 141 { 142 .compatible = "microchip,ksz8795", 143 .data = &ksz_switch_chips[KSZ8795] 144 }, 145 { 146 .compatible = "microchip,ksz8863", 147 .data = &ksz_switch_chips[KSZ8830] 148 }, 149 { 150 .compatible = "microchip,ksz8873", 151 .data = &ksz_switch_chips[KSZ8830] 152 }, 153 { 154 .compatible = "microchip,ksz9477", 155 .data = &ksz_switch_chips[KSZ9477] 156 }, 157 { 158 .compatible = "microchip,ksz9897", 159 .data = &ksz_switch_chips[KSZ9897] 160 }, 161 { 162 .compatible = "microchip,ksz9893", 163 .data = &ksz_switch_chips[KSZ9893] 164 }, 165 { 166 .compatible = "microchip,ksz9563", 167 .data = &ksz_switch_chips[KSZ9893] 168 }, 169 { 170 .compatible = "microchip,ksz8563", 171 .data = &ksz_switch_chips[KSZ9893] 172 }, 173 { 174 .compatible = "microchip,ksz9567", 175 .data = &ksz_switch_chips[KSZ9567] 176 }, 177 {}, 178 }; 179 MODULE_DEVICE_TABLE(of, ksz_dt_ids); 180 -- 0-DAY CI Kernel Test Service https://01.org/lkp