Re: [PATCH] MIPS: SGI-IP30: Check for valid pointer before using it

From: Paul Burton
Date: Thu Jan 23 2020 - 14:44:39 EST


Hello,

Thomas Bogendoerfer wrote:
> Fix issue detected by Smatch:
>
> ./arch/mips/sgi-ip30/ip30-irq.c:236 heart_domain_free()
> warn: variable dereferenced before check 'irqd' (see line 235)

Applied to mips-next.

> commit c0e79fd89749
> https://git.kernel.org/mips/c/c0e79fd89749
>
> Fixes: 7505576d1c1a ("MIPS: add support for SGI Octane (IP30)")
> Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@xxxxxxx>
> Signed-off-by: Paul Burton <paulburton@xxxxxxxxxx>

Thanks,
Paul

[ This message was auto-generated; if you believe anything is incorrect
then please email paulburton@xxxxxxxxxx to report it. ]