public inbox for linux-mips@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Théo Lebrun" <theo.lebrun@bootlin.com>,
	"Vinod Koul" <vkoul@kernel.org>,
	"Neil Armstrong" <neil.armstrong@linaro.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-phy@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org,
	"Vladimir Kondratiev" <vladimir.kondratiev@mobileye.com>,
	"Gregory CLEMENT" <gregory.clement@bootlin.com>,
	"Benoît Monin" <benoit.monin@bootlin.com>,
	"Tawfik Bayouk" <tawfik.bayouk@mobileye.com>,
	"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
	"Luca Ceresoli" <luca.ceresoli@bootlin.com>,
	"Théo Lebrun" <theo.lebrun@bootlin.com>
Subject: Re: [PATCH v8] phy: Add driver for EyeQ5 Ethernet PHY wrapper
Date: Sun, 8 Mar 2026 10:06:29 +0800	[thread overview]
Message-ID: <202603081000.NLJ9u8XA-lkp@intel.com> (raw)
In-Reply-To: <20260306-macb-phy-v8-1-b5c48ee61402@bootlin.com>

Hi Théo,

kernel test robot noticed the following build warnings:

[auto build test WARNING on next-20260305]
[cannot apply to linus/master v7.0-rc2 v7.0-rc1 v6.19 v7.0-rc2]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Th-o-Lebrun/phy-Add-driver-for-EyeQ5-Ethernet-PHY-wrapper/20260307-034032
base:   next-20260305
patch link:    https://lore.kernel.org/r/20260306-macb-phy-v8-1-b5c48ee61402%40bootlin.com
patch subject: [PATCH v8] phy: Add driver for EyeQ5 Ethernet PHY wrapper
config: arm-randconfig-r111-20260308 (https://download.01.org/0day-ci/archive/20260308/202603081000.NLJ9u8XA-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 10.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260308/202603081000.NLJ9u8XA-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603081000.NLJ9u8XA-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> drivers/phy/phy-eyeq5-eth.c:246:14: sparse: sparse: incorrect type in assignment (different address spaces) @@     expected void [noderef] __iomem *base @@     got void * @@
   drivers/phy/phy-eyeq5-eth.c:246:14: sparse:     expected void [noderef] __iomem *base
   drivers/phy/phy-eyeq5-eth.c:246:14: sparse:     got void *

vim +246 drivers/phy/phy-eyeq5-eth.c

   230	
   231	static int eq5_phy_probe(struct auxiliary_device *adev,
   232				 const struct auxiliary_device_id *id)
   233	{
   234		struct device *dev = &adev->dev;
   235		struct phy_provider *provider;
   236		struct eq5_phy_private *priv;
   237		void __iomem *base;
   238		int ret;
   239	
   240		priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL);
   241		if (!priv)
   242			return -ENOMEM;
   243	
   244		dev_set_drvdata(dev, priv);
   245	
 > 246		base = dev_get_platdata(dev);
   247	
   248		ret = eq5_phy_probe_phy(dev, priv, 0, base, EQ5_PHY0_GP,
   249					EQ5_PHY0_SGMII, true);
   250		if (ret)
   251			return ret;
   252	
   253		ret = eq5_phy_probe_phy(dev, priv, 1, base, EQ5_PHY1_GP,
   254					EQ5_PHY1_SGMII, false);
   255		if (ret)
   256			return ret;
   257	
   258		provider = devm_of_phy_provider_register(dev, eq5_phy_xlate);
   259		if (IS_ERR(provider))
   260			return dev_err_probe(dev, PTR_ERR(provider),
   261					     "registering provider failed\n");
   262	
   263		return 0;
   264	}
   265	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

      reply	other threads:[~2026-03-08  2:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-06 14:29 [PATCH v8] phy: Add generic PHY driver used by MACB/GEM on EyeQ5 Théo Lebrun
2026-03-06 14:29 ` [PATCH v8] phy: Add driver for EyeQ5 Ethernet PHY wrapper Théo Lebrun
2026-03-08  2:06   ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202603081000.NLJ9u8XA-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=benoit.monin@bootlin.com \
    --cc=gregory.clement@bootlin.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=luca.ceresoli@bootlin.com \
    --cc=neil.armstrong@linaro.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=tawfik.bayouk@mobileye.com \
    --cc=theo.lebrun@bootlin.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=vkoul@kernel.org \
    --cc=vladimir.kondratiev@mobileye.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox