Skip to content

Commit

Permalink
[SPARC64]: Fix sun4v_intr_setenabled() return value check in enable_i…
Browse files Browse the repository at this point in the history
…rq().

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Mar 20, 2006
1 parent 355db99 commit abd92b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc64/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit abd92b2

Please sign in to comment.