Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1024841imm; Thu, 6 Sep 2018 14:05:25 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaGJ2XO8AifsRXDmb8Bm6VXkyXgIOIFD2ogTq2Ok1F3KthpLgu//5WKR5EMfA0dCofIcbCz X-Received: by 2002:a63:ac11:: with SMTP id v17-v6mr4824238pge.196.1536267925332; Thu, 06 Sep 2018 14:05:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536267925; cv=none; d=google.com; s=arc-20160816; b=DJYNNd37mcP13Zfb5xEPeS1AQHJce+nrr67P5qHZwgUOlVCS+U/JsKY8zhk3BDnV54 sPa67/xhorHQIskA+kFOwLi0swUkmh8n0eftnRLe0kmynlZAPHxGhjTA6V74uK/Svg9h XoW6m0UrwHROC93RcrmcKlw+ma0wxy8euqo0R+oCWm15xQx9c13ufLcUvRB5cKZCHgfk juWlZxBDPKzI+ifAwiOjWOoy/EqrnHedttuLH8B/LVODaFQpHULPxR1vSOqPla8I8DQ6 dlxIImMe4Bf623ixjuki1HSFyHej00N2CYpGOIECunjdXNSCdxkgS+jFYMEWJyJNAfV6 UyYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature; bh=chSGWLzPYZVOnt/7XzLI/x0ephQSPBOJbR4MttNzbbE=; b=08mgbGWyjXMrnStDnYw3+ksAZN0Sp3YdNzY9Li95MrtjsnDUOvegM60X1iRl2zSzvz 3Q4Euu7qwROLFBNvvea67NaooNCdwGXlDtSXzv8M0a70jQYXrEDoBwlT270dZijwv1Di gm7LH40rqCka2aVC0QEsxsLzhSu8p3dopqQreo5BkTkBJqSEpFl7wD88K7rFB9RxH/Yw u5JLXJcA8RH6mkQszzvLfaJ4m2NB8pq82exWLMRjFqcBXXJvnkwXCTembgUB1xswIM/k y5Lf1b1AwrkCPYw4fT97EqZVcYEI42DHVBCEuO43ikV+klh4VozBF5jmzTckysaIxzmI Tcnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=J+QpC7zY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31-v6si5865746plg.260.2018.09.06.14.05.09; Thu, 06 Sep 2018 14:05:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=J+QpC7zY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728524AbeIFVo2 (ORCPT + 99 others); Thu, 6 Sep 2018 17:44:28 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:35614 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727740AbeIFVo1 (ORCPT ); Thu, 6 Sep 2018 17:44:27 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w86H4RGi067543; Thu, 6 Sep 2018 17:07:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=chSGWLzPYZVOnt/7XzLI/x0ephQSPBOJbR4MttNzbbE=; b=J+QpC7zYCffMZXjb8eQ6umUm4DubE3uFtQBIefqQ3ISeolKLIIbU4lOpaj1ChYIJO5Dk ElQF/GZlQMspBk65bPe89BO8ZIJL1/6Jn7B09EvrR3yKmsmZ6bcV5o2uCsPFa3ZUbytd MrpJo2h4J+8C3RDGUIZ1gxxZ3L/SDK2sEgI9wUkbs92CdPHlrvw6alz3/5z47VOSURQj Nx+OOMYKGY1iTmKv5c4K8vaZr5FNDSZw/G/+K2rs1ud/cuP95tHmZ+hOupkrm7xxpWCR Oj8Pzb5zhTXW4I4n9XHGLcazcfgu2jaI87PG4RibpkdorWGRNik4V/gizcs3HuHhsemi YA== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2130.oracle.com with ESMTP id 2m7j6twe92-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 06 Sep 2018 17:07:55 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w86H7mx3000674 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 6 Sep 2018 17:07:49 GMT Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w86H7lvj028111; Thu, 6 Sep 2018 17:07:48 GMT Received: from [10.209.243.127] (/10.209.243.127) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 06 Sep 2018 10:07:47 -0700 Subject: Re: [PATCH] memory: ti-aemif: fix a potential NULL-pointer dereference To: Olof Johansson 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 References: <20180906121219.23948-1-brgl@bgdev.pl> <20180906170358.tfdw377lcffwztsm@localhost> From: Santosh Shilimkar Organization: Oracle Corporation Message-ID: Date: Thu, 6 Sep 2018 10:07:45 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180906170358.tfdw377lcffwztsm@localhost> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9008 signatures=668708 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=933 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809060166 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: 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. > Thanks Olof !! Regards, Santosh