[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200801190911.15106.rusty@rustcorp.com.au>
Date: Sat, 19 Jan 2008 09:11:14 +1100
From: Rusty Russell <rusty@...tcorp.com.au>
To: Jeff Garzik <jgarzik@...ox.com>
Cc: linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Ash Willis <ashwillis@...grammer.net>,
linux-pcmcia@...ts.infradead.org
Subject: Re: [PATCH 1/3] Improve type handling in interrupt handlers
On Saturday 19 January 2008 07:41:41 Jeff Garzik wrote:
> You should be using irq_handler_t for all these.
Well, these are your drivers, but for mine I dislike the obfuscation.
It's not like you can declare the function itself to be an irq_handler_t, so
it's a strange turd to drop in a driver.
> (Coincedentally, doing so makes it easier for me to later on remove the
> almost-never-used 'irq' argument from all irq handlers)
Slightly, but the compiler would tell you if you miss one, so I don't think
this is real.
Cheers,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists