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

From: Santosh Shilimkar
Date: Thu Sep 06 2018 - 12:59:13 EST


Hi Arnd, Olof,

On 9/6/2018 5:12 AM, Bartosz Golaszewski wrote:
From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>

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 <dan.carpenter@xxxxxxxxxx>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
Cc: stable@xxxxxxxxxxxxxxx
---
drivers/memory/ti-aemif.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Will you be able to push this via drivers-soc fixes ?

Regards,
Santosh