[PATCH v8] phy: Add driver for EyeQ5 Ethernet PHY wrapper

kernel test robot lkp at intel.com
Sat Mar 7 18:06:29 PST 2026


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 at 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



More information about the linux-phy mailing list