Geert, On Fri, Jan 31, 2014 at 4:03 AM, Geert Uytterhoeven <[email protected]> wrote: > On Tue, Jan 28, 2014 at 9:07 AM, Michael Schmitz <[email protected]> wrote: >> --- a/drivers/ide/ide-probe.c >> +++ b/drivers/ide/ide-probe.c >> @@ -853,8 +853,9 @@ static int init_irq (ide_hwif_t *hwif) >> if (irq_handler == NULL) >> irq_handler = ide_intr; >> >> - if (request_irq(hwif->irq, irq_handler, sa, hwif->name, hwif)) >> - goto out_up; >> + if (!host->get_lock) >> + if (request_irq(hwif->irq, irq_handler, sa, hwif->name, >> hwif)) >> + goto out_up; > > Don't you need a similar check for free_irq()?
Absolutely. Thanks for spotting this. I'll send the fixed version to linux-ide. Cheers, Michael -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
