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=-1.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 5E2CDC433E0 for ; Thu, 9 Jul 2020 19:23:26 +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 1E5CE207DD for ; Thu, 9 Jul 2020 19:23:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HEjcIpcl"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="f0Mw2/l7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1E5CE207DD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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: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:References:List-Owner; bh=JA+OMiuPdtmhxRtFMnLdMstcmWJpuaq+l4c8tnXoPbM=; b=HEjcIpcl/+AtkVa4aSKcu+Oda nuHO50ZK3mphRmeR02Oix04OjWic1LONo3oaob5abCKYYqT2QR1h60jjBZYKeLDk53eregUjOpntJ aXGY9bdjrwoDbQWZHXnueM0dDv6x7NWqc1MSQ/XfI91tzTm6kcYiwfM+b8niT3S86PeDglXpPRBgu kjS2+sYNAxrtb1aMa244MTL4muGYQY0Hdcjfey9Re3qV9erRaSqXzzvzk+CfxeJLvG/47l6zStVoa zxwAoRVhRrtz5lzwYWKgDxHeOCAGUGtqwdTAKVB/l/XMnDHJ+H+eR1WABRZZ21G4f6wjuusN4hWIy J4pz5YcoQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtc6y-0006XW-6I; Thu, 09 Jul 2020 19:21:36 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jtc6v-0006Wm-Eo for linux-arm-kernel@lists.infradead.org; Thu, 09 Jul 2020 19:21:34 +0000 Received: from localhost (mobile-166-175-191-139.mycingular.net [166.175.191.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7639620775; Thu, 9 Jul 2020 19:21:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594322491; bh=wqulHk6qd664soKTBFLypxK5StpyBZmI0s5KeJX4Adk=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=f0Mw2/l77/o8so04pSJaAxTOqqT1YvFej84qPwkyLZH7UrOinxZU5JBKhd+qNbRth c6xSEXyDuslpevYiU+E90RtHRkZWCE4Swm92esfZPfOExJEtv3UkzTTBjU+G5rexJy fq2sNqpyXhx6U8hO1NEK9EzNw0Arhp4CHc9CRs3I= Date: Thu, 9 Jul 2020 14:21:30 -0500 From: Bjorn Helgaas To: Rob Herring Subject: Re: [PATCH] PCI: host-common: Fix driver remove NULL bridge->bus dereference Message-ID: <20200709192130.GA12030@bjorn-Precision-5520> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200709161002.439699-1-robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200709_152133_643220_77DFA620 X-CRM114-Status: UNSURE ( 8.08 ) X-CRM114-Notice: Please train this message. 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: Lorenzo Pieralisi , 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 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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel