omap: Ptr "isr_reg" tracked as NULL was dereferenced
authorEvgeny Kuznetsov <ext-eugeny.kuznetsov@nokia.com>
Mon, 8 Nov 2010 08:38:36 +0000 (08:38 +0000)
committerTony Lindgren <tony@atomide.com>
Tue, 16 Nov 2010 21:38:21 +0000 (13:38 -0800)
Value of "isr_reg" pointer is depend on configuration and GPIO method.
Potentially it may have NULL value and it is dereferenced later
in code. Warning and exit from function are added in this case.

Signed-off-by: Evgeny Kuznetsov <EXT-Eugeny.Kuznetsov@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found