Re: [PATCH v3 01/20] driver core: Split devres APIs to device/devres.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 06, 2025 at 08:13:12AM +0200, Raag Jadav wrote:
> On Thu, Feb 06, 2025 at 12:27:03AM +0800, kernel test robot wrote:

> >    102	
> >    103	static inline
> >    104	void __iomem *devm_ioremap_resource(struct device *dev, const struct resource *res)
> >    105	{
> >  > 106		return ERR_PTR(-EINVAL);
> >    107	}
> >    108	
> 
> Andy, are we expecting this?

Oh, no, it's sparse error, but easy to fix. Need to have

		return IOMEM_ERR_PTR(-EINVAL);

-- 
With Best Regards,
Andy Shevchenko






[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux