From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13B4CC433E0 for ; Fri, 10 Jul 2020 10:58:49 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D1C1B2077D for ; Fri, 10 Jul 2020 10:58:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aVXR4uYx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D1C1B2077D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=l4Kxr+m+yk80vyGIQKV5pIB17OFofJ3yNps1Svzh3mY=; b=aVXR4uYxH9Y+zZ5kavfHAdLDx SV93vtSUsRF8rYLo9oJkoKWJ8lQ6K9MUuLpAwB8ZkKIHnHyQCzM67nLYQ5binZzsm6R/752610jtV F2lyZYQbf3erUTcFy7cTM+cC7+ihho8BbfJxFqe6HVI37qvr1MuGJsSs+/yrM2PKEeAx6Hi3stGmI X0xeVDawqeSdI9b75TeZpq3cWkgMlvsw/AKXuhzPli2blceU6OvbAJatkGrmurSubJggZtp+qxpaB DCHYgS4KmwPaVZpCFHcWS1UgSBGmoCwaLc/3exCVSoqc4o+IXg2FcaXiO7WFSjdXA7GC/uYtKEHbb GXTGOPV1g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtqiO-00029Q-5n; Fri, 10 Jul 2020 10:57:12 +0000 Received: from foss.arm.com ([217.140.110.172]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtqiM-00028j-8L for linux-arm-kernel@lists.infradead.org; Fri, 10 Jul 2020 10:57:11 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0A6CBC0A; Fri, 10 Jul 2020 03:57:07 -0700 (PDT) Received: from e121166-lin.cambridge.arm.com (e121166-lin.cambridge.arm.com [10.1.196.255]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 09E783F887; Fri, 10 Jul 2020 03:57:05 -0700 (PDT) Date: Fri, 10 Jul 2020 11:56:58 +0100 From: Lorenzo Pieralisi To: Bjorn Helgaas Subject: Re: [PATCH] PCI: host-common: Fix driver remove NULL bridge->bus dereference Message-ID: <20200710105658.GA4904@e121166-lin.cambridge.arm.com> References: <20200709161002.439699-1-robh@kernel.org> <20200709192130.GA12030@bjorn-Precision-5520> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200709192130.GA12030@bjorn-Precision-5520> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200710_065710_378584_D26C0B2A X-CRM114-Status: GOOD ( 10.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rob Herring , Anders Roxell , linux-pci@vger.kernel.org, Bjorn Helgaas , Will Deacon , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jul 09, 2020 at 02:21:30PM -0500, Bjorn Helgaas wrote: > On Thu, Jul 09, 2020 at 10:10:02AM -0600, Rob Herring wrote: > > Commit 2d716c37b5ce ("PCI: host-common: Use struct > > pci_host_bridge.windows list directly") moved platform_set_drvdata() > > before pci_host_probe() which results in the bridge->bus pointer being > > NULL. Let's change the drvdata to the bridge struct instead to fix this. > > > > Fixes: 2d716c37b5ce ("PCI: host-common: Use struct pci_host_bridge.windows list directly") > > This commit is in -next, but not Linus's tree. Hopefully Lorenzo can > just squash this fix into it. Done, updated my pci/misc branch accordingly. Lorenzo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel