Hello,

Thomas Bogendoerfer wrote:
> 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: 69a07a41d908 ("MIPS: SGI-IP27: rework HUB interrupts")
> Reported-by: Dan Carpenter <[email protected]>
> Signed-off-by: Thomas Bogendoerfer <[email protected]>
> Reviewed-by: Mukesh Ojha <[email protected]>

Applied to mips-fixes.

Thanks,
    Paul

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

Reply via email to