Messages in this thread Patch in this message | | | Date | Fri, 5 Sep 2008 10:03:37 -0700 | From | "Yinghai Lu" <> | Subject | Re: [PATCH] error missed ifndef CONFIG_HAVE_SPARSE_IRQ |
| |
On Fri, Sep 5, 2008 at 7:46 AM, Ingo Molnar <mingo@elte.hu> wrote: > > * Dean Nelson <dcn@sgi.com> wrote: > >> 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> > > applied to tip/irq/sparseirq - thanks Dean! > need to change irq to int too
diff --git a/drivers/pci/htirq.c b/drivers/pci/htirq.c index 7c5aef1..468115d 100644 --- a/drivers/pci/htirq.c +++ b/drivers/pci/htirq.c @@ -109,7 +109,7 @@ int __ht_create_irq(struct pci_dev *dev, int idx, ht_irq_update_t *update) u32 data; int max_irq; int pos; - unsigned int irq; + int irq; unsigned int irq_want;
pos = pci_find_ht_capability(dev, HT_CAPTYPE_IRQ);
| |