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

From: Marc Zyngier
Date: Mon Oct 25 2021 - 06:30:54 EST


On Mon, 25 Oct 2021 10:40:15 +0100,
<Claudiu.Beznea@xxxxxxxxxxxxx> 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@xxxxxxxxxx>
> >> Signed-off-by: Yang Yingliang <yangyingliang@huawei.
> > Reviewed-by: Claudiu Beznea <claudiu.beznea@xxxxxxxxxxxxx>
>
> 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.