On Mon, 2003-04-21 at 04:49, Roman Zippel wrote:
> #define alloc_irq(irq, handler, flags, name, id) \
> request_irq(irq, (irqreturn_t (*)(int, void *, struct pt_regs *))handler, flags, name, id)
Casting 'handler' is not acceptable, see Linus's comments he added
at the top of interrupt.h
-- David S. Miller <davem@redhat.com> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:35 EST