projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
355db99
)
[SPARC64]: Fix sun4v_intr_setenabled() return value check in enable_irq().
author
David S. Miller
<davem@sunset.davemloft.net>
Wed, 15 Feb 2006 06:20:13 +0000
(22:20 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:12:59 +0000
(
01:12
-0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/irq.c
patch
|
blob
|
history
diff --git
a/arch/sparc64/kernel/irq.c
b/arch/sparc64/kernel/irq.c
index 72e626b54ba5e72b023b22b1d4cd49d88516519b..c786d2549bced0ceb7cf8280882af5091a07204b 100644
(file)
--- a/
arch/sparc64/kernel/irq.c
+++ b/
arch/sparc64/kernel/irq.c
@@
-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);