projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac54a6c
)
irq: error missed ifndef CONFIG_HAVE_SPARSE_IRQ
author
Dean Nelson
<dcn@sgi.com>
Fri, 5 Sep 2008 14:07:20 +0000
(09:07 -0500)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 16 Oct 2008 14:53:06 +0000
(16:53 +0200)
An error return from create_irq_nr() is 0, but an error return from
create_irq() is -1.
Signed-off-by: Dean Nelson <dcn@sgi.com>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/pci/htirq.c
patch
|
blob
|
history
diff --git
a/drivers/pci/htirq.c
b/drivers/pci/htirq.c
index
7c5aef1
..
7b180e0
100644
(file)
--- a/
drivers/pci/htirq.c
+++ b/
drivers/pci/htirq.c
@@
-144,7
+144,7
@@
int __ht_create_irq(struct pci_dev *dev, int idx, ht_irq_update_t *update)
#else
irq = create_irq();
#endif
- if (irq
=
= 0) {
+ if (irq
<
= 0) {
kfree(cfg);
return -EBUSY;
}