Re: [PATCHv2 1/1] omap: Ptr isr_reg tracked as NULL was dereferenced

2010-10-18 Thread Tony Lindgren
* Evgeny Kuznetsov ext-eugeny.kuznet...@nokia.com [101014 23:11]: On Wed, 2010-10-13 at 16:09 +0400, Evgeny Kuznetsov wrote: On Wed, 2010-10-13 at 17:20 +0530, ext Varadarajan, Charulatha wrote: Hi Tony, It is not a bug fix, it is just check to prevent potential issues. Used to warn in

RE: [PATCHv2 1/1] omap: Ptr isr_reg tracked as NULL was dereferenced

2010-10-15 Thread Evgeny Kuznetsov
On Wed, 2010-10-13 at 16:09 +0400, Evgeny Kuznetsov wrote: On Wed, 2010-10-13 at 17:20 +0530, ext Varadarajan, Charulatha wrote: snip From: Evgeny Kuznetsov ext-eugeny.kuznet...@nokia.com Value of isr_reg pointer is depend on configuration and GPIO method.

RE: [PATCHv2 1/1] omap: Ptr isr_reg tracked as NULL was dereferenced

2010-10-13 Thread Varadarajan, Charulatha
-Original Message- From: Evgeny Kuznetsov [mailto:ext-eugeny.kuznet...@nokia.com] Sent: Wednesday, October 13, 2010 3:35 PM To: t...@atomide.com Cc: linux-omap@vger.kernel.org; linux-ker...@vger.kernel.org; linux-arm- ker...@lists.infradead.org; Balbi, Felipe;

RE: [PATCHv2 1/1] omap: Ptr isr_reg tracked as NULL was dereferenced

2010-10-13 Thread Evgeny Kuznetsov
On Wed, 2010-10-13 at 16:25 +0530, ext Varadarajan, Charulatha wrote: -Original Message- From: Evgeny Kuznetsov [mailto:ext-eugeny.kuznet...@nokia.com] Sent: Wednesday, October 13, 2010 3:35 PM To: t...@atomide.com Cc: linux-omap@vger.kernel.org; linux-ker...@vger.kernel.org;

RE: [PATCHv2 1/1] omap: Ptr isr_reg tracked as NULL was dereferenced

2010-10-13 Thread Varadarajan, Charulatha
snip From: Evgeny Kuznetsov ext-eugeny.kuznet...@nokia.com 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. If pointer is NULL there is some kernel issue. Can you elaborate?

RE: [PATCHv2 1/1] omap: Ptr isr_reg tracked as NULL was dereferenced

2010-10-13 Thread Evgeny Kuznetsov
On Wed, 2010-10-13 at 17:20 +0530, ext Varadarajan, Charulatha wrote: snip From: Evgeny Kuznetsov ext-eugeny.kuznet...@nokia.com Value of isr_reg pointer is depend on configuration and GPIO method. Potentially it may have NULL value and it is dereferenced later in