Re: [PATCH] memory: ti-aemif: fix a potential NULL-pointer dereference

2018-09-06 Thread Santosh Shilimkar
On 9/6/2018 10:03 AM, Olof Johansson wrote: On Thu, Sep 06, 2018 at 09:58:54AM -0700, Santosh Shilimkar wrote: Hi Arnd, Olof, On 9/6/2018 5:12 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Platform data pointer may be NULL. We check it everywhere but in one place. Fix it. Fixes:

Re: [PATCH] memory: ti-aemif: fix a potential NULL-pointer dereference

2018-09-06 Thread Olof Johansson
On Thu, Sep 06, 2018 at 09:58:54AM -0700, Santosh Shilimkar wrote: > Hi Arnd, Olof, > > On 9/6/2018 5:12 AM, Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > > > Platform data pointer may be NULL. We check it everywhere but in one > > place. Fix it. > > > > Fixes: 8af70cd2ca50 ("mem

Re: [PATCH] memory: ti-aemif: fix a potential NULL-pointer dereference

2018-09-06 Thread Santosh Shilimkar
Hi Arnd, Olof, On 9/6/2018 5:12 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Platform data pointer may be NULL. We check it everywhere but in one place. Fix it. Fixes: 8af70cd2ca50 ("memory: aemif: add support for board files") Reported-by: Dan Carpenter Signed-off-by: Bartosz Go

[PATCH] memory: ti-aemif: fix a potential NULL-pointer dereference

2018-09-06 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Platform data pointer may be NULL. We check it everywhere but in one place. Fix it. Fixes: 8af70cd2ca50 ("memory: aemif: add support for board files") Reported-by: Dan Carpenter Signed-off-by: Bartosz Golaszewski Cc: sta...@vger.kernel.org --- drivers/memory/ti-aemif