[PATCH] avoid NULL pointer in gpio1_interrupt

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Sep 27 08:06:47 EST 2006


On Tue, 2006-09-26 at 22:28 +0200, Olaf Hering wrote:
> gpio1_interrupt() may dereference a NULL pointer if ioremap() fails.
> But, maybe no gpio interrupt happens in the first place?

Nah, they would happen. Good catch tho I fail to see how ioremap would
fail that early during boot :)

Ben.





More information about the Linuxppc-dev mailing list