-
由 Thomas Bogendoerfer 提交于
smatch complaint: arch/mips/sgi-ip27/ip27-irq.c:123 shutdown_bridge_irq() warn: variable dereferenced before check 'hd' (see line 121) Fix it by removing local variable and use hd->pin directly. Fixes: 69a07a41 ("MIPS: SGI-IP27: rework HUB interrupts") Reported-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NThomas Bogendoerfer <tbogendoerfer@suse.de> Reviewed-by: NMukesh Ojha <mojha@codeaurora.org> Signed-off-by: NPaul Burton <paul.burton@mips.com> 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
e4952b0c