From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753882AbdCBECr (ORCPT ); Wed, 1 Mar 2017 23:02:47 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:49208 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753152AbdCBECp (ORCPT ); Wed, 1 Mar 2017 23:02:45 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 45D3060D7F Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=vivek.gautam@codeaurora.org Subject: Re: [PATCH] pci: dwc: Fix NULL pointer dereference due to missing assignment To: Bjorn Helgaas References: <1488269298-23056-1-git-send-email-vivek.gautam@codeaurora.org> <20170228210231.GB29859@bhelgaas-glaptop.roam.corp.google.com> Cc: bhelgaas@google.com, Guenter Roeck , Kishon Vijay Abraham I , Jingoo Han , Joao Pinto , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org From: Vivek Gautam Message-ID: <73fb02d5-093b-626f-b284-3c01aaebae39@codeaurora.org> Date: Thu, 2 Mar 2017 09:32:05 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <20170228210231.GB29859@bhelgaas-glaptop.roam.corp.google.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/01/2017 02:32 AM, Bjorn Helgaas wrote: > On Tue, Feb 28, 2017 at 01:38:18PM +0530, Vivek Gautam wrote: >> Add missing assignment of dw_pci core structure for >> designware-plat. >> >> Commit 8b130f815a6b ("PCI: dwc: Fix crashes seen due to missing >> assignments") fixed all other platforms, but missed >> designware-plat file. >> >> Fixes: 442ec4c04d12 ("PCI: dwc: all: Split struct pcie_port into host-only and core structures") >> >> Cc: Guenter Roeck >> Cc: Bjorn Helgaas >> Cc: Kishon Vijay Abraham I >> Cc: Jingoo Han >> Cc: Joao Pinto >> Cc: linux-pci@vger.kernel.org >> Cc: linux-kernel@vger.kernel.org >> Signed-off-by: Vivek Gautam > Thanks, Vivek! I folded this into Guenter's patch and added your > Signed-off-by for this designware-plat fix. I'll ask Linus to pull this > before v4.11-rc1. Thanks Bjorn. BRs Vivek -- The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project