[PATCH 1/2 v2] ARM: OMAP4: Fix NULL pointer dereference crash.

Russell King rmk at arm.linux.org.uk
Fri Sep 18 07:51:04 EDT 2009

On Sun, Aug 23, 2009 at 10:56:14PM +0300, Kevin Hilman wrote:
> This should not be FOURPORT, it should just be a number.  In this case,
> it should be 3 (the others start from zero.)
> The Zoom2 one should then be changed to something >= 4.

No it should not.  There's an enum to control the numbering of these.
Use that.

Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:

More information about the linux-arm-kernel mailing list