Re: [PATCH] genirq: fix irq flow handler uninstall
From: Sylvain Munaut
Date: Fri Dec 15 2006 - 15:14:29 EST
Thomas Gleixner wrote:
> The sanity check for no_irq_chip in __set_irq_hander() is unconditional
> on both install and uninstall of an handler. This triggers false
> warnings and replaces no_irq_chip by dummy_irq_chip in the uninstall
> case.
>
> Check only, when a real handler is installed.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
>
Acked-by: Sylvain Munaut <tnt@xxxxxxxxxx>
Definitly fixed the spurious warning.
Sylvain
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/