[PATCH -next] irqchip/mchp-eic: Fix return value check in mchp_eic_init()

Marc Zyngier maz at kernel.org
Mon Oct 25 03:30:46 PDT 2021


On Mon, 25 Oct 2021 10:40:15 +0100,
<Claudiu.Beznea at microchip.com> wrote:
> 
> On 25.10.2021 10:44, Claudiu Beznea - M18063 wrote:
> > On 25.10.2021 08:00, Yang Yingliang wrote:
> >> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> >>
> >> In case of error, the function of_iomap() returns NULL pointer
> >> not ERR_PTR(). The IS_ERR() test in the return value check
> >> should be replaced with NULL test.
> >>
> >> Reported-by: Hulk Robot <hulkci at huawei.com>
> >> Signed-off-by: Yang Yingliang <yangyingliang at huawei.
> > Reviewed-by: Claudiu Beznea <claudiu.beznea at microchip.com>
> 
> Forgot to mention, can you add the Fixes tag?

There is no real need for one when the offending patch is in the same
merge window, and will be in the same pull request.

	M.

-- 
Without deviation from the norm, progress is not possible.



More information about the linux-arm-kernel mailing list