Re: [PATCH Resend] mfd: asic3: Fix potential null pointer dereference

2014-06-16 Thread Lee Jones
On Tue, 10 Jun 2014, Sachin Kamat wrote: > We previously assumed 'mem_sdio' could be null but it is > dereferenced in ioremap(). Add a check to avoid a potential > null pointer dereference error. > > Signed-off-by: Sachin Kamat > --- > drivers/mfd/asic3.c | 12 +++- > 1 file changed,

[PATCH Resend] mfd: asic3: Fix potential null pointer dereference

2014-06-10 Thread Sachin Kamat
We previously assumed 'mem_sdio' could be null but it is dereferenced in ioremap(). Add a check to avoid a potential null pointer dereference error. Signed-off-by: Sachin Kamat --- drivers/mfd/asic3.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/mfd/