diff options
author | Thomas Bogendoerfer <[email protected]> | 2019-03-28 14:37:45 +0100 |
---|---|---|
committer | Paul Burton <[email protected]> | 2019-03-28 11:37:41 -0700 |
commit | e4952b0c2c0309bdbfc4c6cc0dd81e37450d74d0 (patch) | |
tree | 2a77ea229e3eef59f764f9b3403615ecdc7603d5 /scripts/gdb/linux/tasks.py | |
parent | ab8a6d821179ab9bea1a9179f535ccba6330c1ed (diff) |
MIPS: SGI-IP27: Fix use of unchecked pointer in shutdown_bridge_irq
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]>
Signed-off-by: Paul Burton <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: James Hogan <[email protected]>
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions