mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 09:02:00 +00:00
[SPARC64]: Fix sun4v_intr_setenabled() return value check in enable_irq().
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
355db99860
commit
abd92b2d21
@ -160,7 +160,7 @@ void enable_irq(unsigned int irq)
|
||||
if (err != HV_EOK)
|
||||
printk("sun4v_intr_settarget(%x,%d): err(%d)\n",
|
||||
ino, cpu, err);
|
||||
sun4v_intr_setenabled(ino, HV_INTR_ENABLED);
|
||||
err = sun4v_intr_setenabled(ino, HV_INTR_ENABLED);
|
||||
if (err != HV_EOK)
|
||||
printk("sun4v_intr_setenabled(%x): err(%d)\n",
|
||||
ino, err);
|
||||
|
Loading…
Reference in New Issue
Block a user