提交 abd92b2d 编写于 作者: D David S. Miller

[SPARC64]: Fix sun4v_intr_setenabled() return value check in enable_irq().

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 355db998
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册