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()?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
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