OpenCloudOS-Kernel/arch/mips/sgi-ip30
Thomas Bogendoerfer c0e79fd897
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: 7505576d1c ("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+
2020-01-22 10:15:45 -08:00
..
Makefile MIPS: add support for SGI Octane (IP30) 2019-11-01 14:58:56 -07:00
Platform MIPS: add support for SGI Octane (IP30) 2019-11-01 14:58:56 -07:00
ip30-common.h MIPS: add support for SGI Octane (IP30) 2019-11-01 14:58:56 -07:00
ip30-console.c MIPS: add support for SGI Octane (IP30) 2019-11-01 14:58:56 -07:00
ip30-irq.c MIPS: SGI-IP30: Check for valid pointer before using it 2020-01-22 10:15:45 -08:00
ip30-power.c MIPS: add support for SGI Octane (IP30) 2019-11-01 14:58:56 -07:00
ip30-setup.c MIPS: add support for SGI Octane (IP30) 2019-11-01 14:58:56 -07:00
ip30-smp.c MIPS: add support for SGI Octane (IP30) 2019-11-01 14:58:56 -07:00
ip30-timer.c MIPS: add support for SGI Octane (IP30) 2019-11-01 14:58:56 -07:00
ip30-xtalk.c MIPS: add support for SGI Octane (IP30) 2019-11-01 14:58:56 -07:00