From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (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 75CEF629; Mon, 23 May 2022 09:14:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653297297; x=1684833297; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=rSp8OAS9Z+rAmZ/IeViGc7ucpC+E1jdk1BjrMYZI1Yo=; b=WEO30zEuaBbPt8pwN7beuFrHROhcIUQYUS8GBVHnbfFFJB9C36DhK2B+ afqCv0Jo1IcUvKkYtNCkVvlI265gpUGNE+g/IpoQ/iLwMTMQDlOvCJDsh AIAGvlgPaW1vuGa2lbWhiLt93loedZvpU3iTH8nwJpCQ1IVkEK5VhXRCU Za0dgfxld037mff2ccseLzVOvTHqDkReh22DtJrk4+tX7Q9p2Gwrwyius rIKbx08Ado3VKStMfdqKEcKMzR3uazM44RxxZTLQ6YbCAUuspWwFIHUaM ajOpPPU1i/fHEZLVsFfVJMZWKPejkwYvBkhmNCIWRCLpHUjkC6QhNQ58n w==; X-IronPort-AV: E=McAfee;i="6400,9594,10355"; a="270730360" X-IronPort-AV: E=Sophos;i="5.91,246,1647327600"; d="scan'208";a="270730360" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2022 02:14:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,246,1647327600"; d="scan'208";a="558557154" Received: from lkp-server01.sh.intel.com (HELO db63a1be7222) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 23 May 2022 02:14:50 -0700 Received: from kbuild by db63a1be7222 with local (Exim 4.95) (envelope-from ) id 1nt49K-00011I-1K; Mon, 23 May 2022 09:14:50 +0000 Date: Mon, 23 May 2022 17:13:55 +0800 From: kernel test robot To: Corentin Labbe , andrew@lunn.ch, broonie@kernel.org, calvin.johnson@oss.nxp.com, davem@davemloft.net, edumazet@google.com, hkallweit1@gmail.com, jernej.skrabec@gmail.com, krzysztof.kozlowski+dt@linaro.org, kuba@kernel.org, lgirdwood@gmail.com, linux@armlinux.org.uk, pabeni@redhat.com, robh+dt@kernel.org, samuel@sholland.org, wens@csie.org Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, netdev@vger.kernel.org, Corentin Labbe Subject: Re: [PATCH v3 2/3] phy: handle optional regulator for PHY Message-ID: <202205231735.QGDB1Mcy-lkp@intel.com> References: <20220523052807.4044800-3-clabbe@baylibre.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220523052807.4044800-3-clabbe@baylibre.com> Hi Corentin, I love your patch! Perhaps something to improve: [auto build test WARNING on broonie-regulator/for-next] [also build test WARNING on sunxi/sunxi/for-next linus/master v5.18 next-20220520] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Corentin-Labbe/arm64-add-ethernet-to-orange-pi-3/20220523-133344 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next config: mips-cu1830-neo_defconfig (https://download.01.org/0day-ci/archive/20220523/202205231735.QGDB1Mcy-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 768a1ca5eccb678947f4155e38a5f5744dcefb56) 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 mips cross compiling tool for clang build # apt-get install binutils-mips-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/7ae2ab7d1efe8091f6b7ea048a7ac495afba9e46 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Corentin-Labbe/arm64-add-ethernet-to-orange-pi-3/20220523-133344 git checkout 7ae2ab7d1efe8091f6b7ea048a7ac495afba9e46 # 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=mips SHELL=/bin/bash drivers/net/mdio/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from drivers/net/mdio/of_mdio.c:13: >> include/linux/fwnode_mdio.h:20:5: warning: no previous prototype for function 'fwnode_mdiobus_phy_device_register' [-Wmissing-prototypes] int fwnode_mdiobus_phy_device_register(struct mii_bus *mdio, ^ include/linux/fwnode_mdio.h:20:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int fwnode_mdiobus_phy_device_register(struct mii_bus *mdio, ^ static 1 warning generated. vim +/fwnode_mdiobus_phy_device_register +20 include/linux/fwnode_mdio.h bc1bee3b87ee48b Calvin Johnson 2021-06-11 10 bc1bee3b87ee48b Calvin Johnson 2021-06-11 11 #if IS_ENABLED(CONFIG_FWNODE_MDIO) bc1bee3b87ee48b Calvin Johnson 2021-06-11 12 int fwnode_mdiobus_phy_device_register(struct mii_bus *mdio, bc1bee3b87ee48b Calvin Johnson 2021-06-11 13 struct phy_device *phy, bc1bee3b87ee48b Calvin Johnson 2021-06-11 14 struct fwnode_handle *child, u32 addr); bc1bee3b87ee48b Calvin Johnson 2021-06-11 15 bc1bee3b87ee48b Calvin Johnson 2021-06-11 16 int fwnode_mdiobus_register_phy(struct mii_bus *bus, bc1bee3b87ee48b Calvin Johnson 2021-06-11 17 struct fwnode_handle *child, u32 addr); bc1bee3b87ee48b Calvin Johnson 2021-06-11 18 bc1bee3b87ee48b Calvin Johnson 2021-06-11 19 #else /* CONFIG_FWNODE_MDIO */ bc1bee3b87ee48b Calvin Johnson 2021-06-11 @20 int fwnode_mdiobus_phy_device_register(struct mii_bus *mdio, bc1bee3b87ee48b Calvin Johnson 2021-06-11 21 struct phy_device *phy, bc1bee3b87ee48b Calvin Johnson 2021-06-11 22 struct fwnode_handle *child, u32 addr) bc1bee3b87ee48b Calvin Johnson 2021-06-11 23 { bc1bee3b87ee48b Calvin Johnson 2021-06-11 24 return -EINVAL; bc1bee3b87ee48b Calvin Johnson 2021-06-11 25 } bc1bee3b87ee48b Calvin Johnson 2021-06-11 26 -- 0-DAY CI Kernel Test Service https://01.org/lkp 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 64295C433F5 for ; Mon, 23 May 2022 10:29:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=OvpVHfExR1XyzxbVSRfvMMBN8+671wqypiIWFw7pSu4=; b=QpOGFzX0AgoC6X x9wL0HIrHoHa1YUEAZvps30QAUMb5GRkT6N+9FnkFl4CcqzO+RknM7+iN9H0XGSL2dBrs2kCEQlk5 KFdSkbgCyVCZ3MEDVU2/kasPvJ3SqYLXTZoP7bTDzsr/2AUjHv+qQRxg9ulcjKJiazl+tucqYvESR roDvYuMHmwN60HUB166/0u8HNtWzBbvWpnOi00uNBjrYJXIBHVpCnmDKyYLJW6lSafkIteFOFwiL8 hnvtXnu2OZVaQQx4xfhp6fitv3/pNYEf2/qvLtQSm8A5Pb3pAJMPX0aHCsg+bnV9MXCDI2v2sVoNf 9oOJ3i16/5M5YAoRIQ6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nt5I7-003EyC-8j; Mon, 23 May 2022 10:27:59 +0000 Received: from mga05.intel.com ([192.55.52.43]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nt49b-002l3e-EC for linux-arm-kernel@lists.infradead.org; Mon, 23 May 2022 09:15:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653297307; x=1684833307; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=rSp8OAS9Z+rAmZ/IeViGc7ucpC+E1jdk1BjrMYZI1Yo=; b=eaj2uyywtb4dDOANVk827Jlxt5jKJ8ALkunEVUllT05n3s8E2tpU7HMT nfvY5SKYJGXyWavWce9c8aavhyJWrjz7qfO34GopsuM9IDe57tweIBRWl 6E+kzZb0X+bZcS8J70ZyISj0xX1lymghrR4WwaIX46+65TIHrYplX7Y5I 26Ys5LCL1k+IvDIG1OVclo3dWcRM4o4DepP/Zd3H46K8w4gaoXi4mKRwN 2j4PwSPIbdFJ+IrTMnHG3RV7nC1BumQVgoiEsYjdtMYkQUiiiZgI5FGU0 2R6JS2Ou1aXRnsL7+pNmY0334uU0XOpZjIenRJvlR041Xu4BQdmc+BCYK Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10355"; a="359554052" X-IronPort-AV: E=Sophos;i="5.91,246,1647327600"; d="scan'208";a="359554052" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 May 2022 02:14:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,246,1647327600"; d="scan'208";a="558557154" Received: from lkp-server01.sh.intel.com (HELO db63a1be7222) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 23 May 2022 02:14:50 -0700 Received: from kbuild by db63a1be7222 with local (Exim 4.95) (envelope-from ) id 1nt49K-00011I-1K; Mon, 23 May 2022 09:14:50 +0000 Date: Mon, 23 May 2022 17:13:55 +0800 From: kernel test robot To: Corentin Labbe , andrew@lunn.ch, broonie@kernel.org, calvin.johnson@oss.nxp.com, davem@davemloft.net, edumazet@google.com, hkallweit1@gmail.com, jernej.skrabec@gmail.com, krzysztof.kozlowski+dt@linaro.org, kuba@kernel.org, lgirdwood@gmail.com, linux@armlinux.org.uk, pabeni@redhat.com, robh+dt@kernel.org, samuel@sholland.org, wens@csie.org Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, netdev@vger.kernel.org, Corentin Labbe Subject: Re: [PATCH v3 2/3] phy: handle optional regulator for PHY Message-ID: <202205231735.QGDB1Mcy-lkp@intel.com> References: <20220523052807.4044800-3-clabbe@baylibre.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220523052807.4044800-3-clabbe@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220523_021507_527897_2C61D1E1 X-CRM114-Status: GOOD ( 14.68 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Corentin, I love your patch! Perhaps something to improve: [auto build test WARNING on broonie-regulator/for-next] [also build test WARNING on sunxi/sunxi/for-next linus/master v5.18 next-20220520] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Corentin-Labbe/arm64-add-ethernet-to-orange-pi-3/20220523-133344 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next config: mips-cu1830-neo_defconfig (https://download.01.org/0day-ci/archive/20220523/202205231735.QGDB1Mcy-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 768a1ca5eccb678947f4155e38a5f5744dcefb56) 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 mips cross compiling tool for clang build # apt-get install binutils-mips-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/7ae2ab7d1efe8091f6b7ea048a7ac495afba9e46 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Corentin-Labbe/arm64-add-ethernet-to-orange-pi-3/20220523-133344 git checkout 7ae2ab7d1efe8091f6b7ea048a7ac495afba9e46 # 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=mips SHELL=/bin/bash drivers/net/mdio/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from drivers/net/mdio/of_mdio.c:13: >> include/linux/fwnode_mdio.h:20:5: warning: no previous prototype for function 'fwnode_mdiobus_phy_device_register' [-Wmissing-prototypes] int fwnode_mdiobus_phy_device_register(struct mii_bus *mdio, ^ include/linux/fwnode_mdio.h:20:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int fwnode_mdiobus_phy_device_register(struct mii_bus *mdio, ^ static 1 warning generated. vim +/fwnode_mdiobus_phy_device_register +20 include/linux/fwnode_mdio.h bc1bee3b87ee48b Calvin Johnson 2021-06-11 10 bc1bee3b87ee48b Calvin Johnson 2021-06-11 11 #if IS_ENABLED(CONFIG_FWNODE_MDIO) bc1bee3b87ee48b Calvin Johnson 2021-06-11 12 int fwnode_mdiobus_phy_device_register(struct mii_bus *mdio, bc1bee3b87ee48b Calvin Johnson 2021-06-11 13 struct phy_device *phy, bc1bee3b87ee48b Calvin Johnson 2021-06-11 14 struct fwnode_handle *child, u32 addr); bc1bee3b87ee48b Calvin Johnson 2021-06-11 15 bc1bee3b87ee48b Calvin Johnson 2021-06-11 16 int fwnode_mdiobus_register_phy(struct mii_bus *bus, bc1bee3b87ee48b Calvin Johnson 2021-06-11 17 struct fwnode_handle *child, u32 addr); bc1bee3b87ee48b Calvin Johnson 2021-06-11 18 bc1bee3b87ee48b Calvin Johnson 2021-06-11 19 #else /* CONFIG_FWNODE_MDIO */ bc1bee3b87ee48b Calvin Johnson 2021-06-11 @20 int fwnode_mdiobus_phy_device_register(struct mii_bus *mdio, bc1bee3b87ee48b Calvin Johnson 2021-06-11 21 struct phy_device *phy, bc1bee3b87ee48b Calvin Johnson 2021-06-11 22 struct fwnode_handle *child, u32 addr) bc1bee3b87ee48b Calvin Johnson 2021-06-11 23 { bc1bee3b87ee48b Calvin Johnson 2021-06-11 24 return -EINVAL; bc1bee3b87ee48b Calvin Johnson 2021-06-11 25 } bc1bee3b87ee48b Calvin Johnson 2021-06-11 26 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel