diff options
author | Thomas Bogendoerfer <tbogendoerfer@suse.de> | 2020-01-22 14:13:34 +0100 |
---|---|---|
committer | Paul Burton <paulburton@kernel.org> | 2020-01-22 10:15:45 -0800 |
commit | c0e79fd89749b0cda1c72049e2772dd2eeada86f (patch) | |
tree | b5371da10eb10949ca253e692574a2dcc9828ab3 /arch/microblaze | |
parent | 4f29ad200f7b40fbcf73cd65f95087535ba78380 (diff) |
MIPS: SGI-IP30: Check for valid pointer before using it
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)
Fixes: 7505576d1c1a ("MIPS: add support for SGI Octane (IP30)")
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: Paul Burton <paulburton@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: <stable@vger.kernel.org> # v5.5+
Diffstat (limited to 'arch/microblaze')
0 files changed, 0 insertions, 0 deletions