From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f194.google.com ([209.85.208.194]:44500 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727770AbeIFVl3 (ORCPT ); Thu, 6 Sep 2018 17:41:29 -0400 Received: by mail-lj1-f194.google.com with SMTP id q127-v6so9923183ljq.11 for ; Thu, 06 Sep 2018 10:05:04 -0700 (PDT) Date: Thu, 6 Sep 2018 10:03:58 -0700 From: Olof Johansson To: Santosh Shilimkar Cc: Kevin Hilman , Dan Carpenter , Arnd Bergmann , "arm@kernel.org" , Bartosz Golaszewski , Santosh Shilimkar , Sekhar Nori , linux-kernel@vger.kernel.org, Bartosz Golaszewski , stable@vger.kernel.org Subject: Re: [PATCH] memory: ti-aemif: fix a potential NULL-pointer dereference Message-ID: <20180906170358.tfdw377lcffwztsm@localhost> References: <20180906121219.23948-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: stable-owner@vger.kernel.org List-ID: 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 ("memory: aemif: add support for board files") > > Reported-by: Dan Carpenter > > Signed-off-by: Bartosz Golaszewski > > Cc: stable@vger.kernel.org > > --- > > drivers/memory/ti-aemif.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > Will you be able to push this via drivers-soc fixes ? Applied to fixes. -Olof