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

Marc Zyngier
2021-10-25T10:30:54Z

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