From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3263C2F25 for ; Sat, 26 Mar 2022 02:53:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648263198; x=1679799198; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=uI+S8wJngH0DegLJABgjbAsMLT1fPpAdxr5wiQNUH04=; b=QUbUHBJCVMiOKtvEWNN5AWlYPS35yEh7x+zvt1vLK5OUtTTgwbOq/o61 2pxCb4cgIxP11yZSuEtreLLjpRqzDrr1l+9CM2EY7vm2ZJBZFMxUuyxle 913QLcc1zUm3h4r9NZ6Pu1Dj6AtH8GHMoIRFrLmAoIyfJTKdu+WhlfMBN ZVVf+w7iUe2VoL22CFbJDmZNnXZpjtqP9eKYBECFc7Pz3IzF4ChcX+zaA 1CyTwNoMCPz2mj47pPKTg/PYM0t1BQPgUXPgMn8ZO8HFqeXtswPa056h1 PTI6nfqMzhfRQmlhsfsdlRI63l3JCTleshh0nvc/aEKDeJfCAWMzDfowe Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10297"; a="319456712" X-IronPort-AV: E=Sophos;i="5.90,211,1643702400"; d="scan'208";a="319456712" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2022 19:53:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,211,1643702400"; d="scan'208";a="648456233" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by fmsmga002.fm.intel.com with ESMTP; 25 Mar 2022 19:53:13 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nXwYD-000MvT-6Q; Sat, 26 Mar 2022 02:53:13 +0000 Date: Sat, 26 Mar 2022 10:52:33 +0800 From: kernel test robot To: =?iso-8859-1?Q?Cl=E9ment_L=E9ger?= , Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Paolo Abeni Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Horatiu Vultur , Thomas Petazzoni , Alexandre Belloni , Allan Nielsen , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, =?iso-8859-1?Q?Cl=E9ment_L=E9ger?= Subject: Re: [net-next 1/5] net: mdio: fwnode: add fwnode_mdiobus_register() Message-ID: <202203261007.nhIuHNPd-lkp@intel.com> References: <20220325172234.1259667-2-clement.leger@bootlin.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220325172234.1259667-2-clement.leger@bootlin.com> User-Agent: Mutt/1.10.1 (2018-07-13) Hi "Clément, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Cl-ment-L-ger/net-mdio-fwnode-add-fwnode_mdiobus_register/20220326-040146 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 89695196f0ba78a17453f9616355f2ca6b293402 config: x86_64-randconfig-a005 (https://download.01.org/0day-ci/archive/20220326/202203261007.nhIuHNPd-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0f6d9501cf49ce02937099350d08f20c4af86f3d) 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://github.com/0day-ci/linux/commit/8ed21cbab4f71b382b70d22da18e9331bd9b714f git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Cl-ment-L-ger/net-mdio-fwnode-add-fwnode_mdiobus_register/20220326-040146 git checkout 8ed21cbab4f71b382b70d22da18e9331bd9b714f # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/net/mdio/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/net/mdio/fwnode_mdio.c:154:34: warning: unused variable 'whitelist_phys' [-Wunused-const-variable] static const struct of_device_id whitelist_phys[] = { ^ 1 warning generated. vim +/whitelist_phys +154 drivers/net/mdio/fwnode_mdio.c 147 148 /* The following is a list of PHY compatible strings which appear in 149 * some DTBs. The compatible string is never matched against a PHY 150 * driver, so is pointless. We only expect devices which are not PHYs 151 * to have a compatible string, so they can be matched to an MDIO 152 * driver. Encourage users to upgrade their DT blobs to remove these. 153 */ > 154 static const struct of_device_id whitelist_phys[] = { 155 { .compatible = "brcm,40nm-ephy" }, 156 { .compatible = "broadcom,bcm5241" }, 157 { .compatible = "marvell,88E1111", }, 158 { .compatible = "marvell,88e1116", }, 159 { .compatible = "marvell,88e1118", }, 160 { .compatible = "marvell,88e1145", }, 161 { .compatible = "marvell,88e1149r", }, 162 { .compatible = "marvell,88e1310", }, 163 { .compatible = "marvell,88E1510", }, 164 { .compatible = "marvell,88E1514", }, 165 { .compatible = "moxa,moxart-rtl8201cp", }, 166 {} 167 }; 168 -- 0-DAY CI Kernel Test Service https://01.org/lkp