Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e65ef88c authored by Dean Nelson's avatar Dean Nelson Committed by Ingo Molnar
Browse files

irq: error missed ifndef CONFIG_HAVE_SPARSE_IRQ



An error return from create_irq_nr() is 0, but an error return from
create_irq() is -1.

Signed-off-by: default avatarDean Nelson <dcn@sgi.com>
Cc: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent ac54a6c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}