omap: Ptr "isr_reg" tracked as NULL was dereferenced
authorEvgeny Kuznetsov <ext-eugeny.kuznetsov@nokia.com>
Wed, 8 Dec 2010 00:25:40 +0000 (16:25 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 8 Dec 2010 00:25:40 +0000 (16:25 -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