![]() | |||||||||||||
Messages in this thread |
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/ | ||||||||||||
| Last update: 2005-03-22 12:34 [from the cache] ©2003-2008 | |||||||||||||