Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1114121imm; Wed, 1 Aug 2018 10:24:41 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfMhuWBvUm6KXEIb1UlgzAwdWz7NEtwP8KspyNNTsBv4SaxPkDsQyIpx3JLTuOwHztKh9Yr X-Received: by 2002:a62:6283:: with SMTP id w125-v6mr27787369pfb.108.1533144281292; Wed, 01 Aug 2018 10:24:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533144281; cv=none; d=google.com; s=arc-20160816; b=R0/jXWBJ7YqKdhNAGhd+rM5fREb+bDPUjSz7b6A6t4lithoQyXJ0xKkcNa1KUrVuwv v6aec5qh6o669ed9dB4mP0HNpfPpE7LvN9+1W1W2DbLykmLmEhb2JCd8vRg/JY0PDtFj ydy8hWODrLS/ekv1/KR4bgjvjjdWHRqVt0CQET/+Sa16mNKIFWh0iNSushOQfmGdDTmk sDJ2j6BvArxP2qs0G9xJ9sD8ms2Q8Glir7LCRKekcHJ6C0Gyjzt62H8yqSLuY1QzxDpv kMveHXjj1dnfcG6AaX/rhihD4c5N7Nc4hfaq2PaJNqbj/vG9qAh+rMX3b8Mw9ykXgdIe YNHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=LctP1Wrn+WdItmFejPiiZO3Y5vazn1TSM1nanFFx60w=; b=Ejj+WgFMLG9m/JHuQVDJ8ujQ1w6ILWfPQYxtL/FK74rjbwmGC/s65feNqOnDmgaal3 BGDNrITT6rAUa3b3lyRZ2coHduhmlB7fPEnUjFXRP2l6gmrNUSbLPKKNwwoMRT7X3ZbG IMbp9fWAY77wTZGc7w7usOhFeeSvQtWgFW1PF4gS2GqMLkx//ZLhrwuNmSAtnx5gkrrY /DT2JeO42lcZ+Mjx+5yFEDjTluKVUPaEQQ3Y4Um21p0H8VRf+Unegx5+rfRhVXIvyx2r ns7G3cbrpiTzQN8dPpfAit/nuylH3lExoQsAabE+5cEnLoobBqbay+/v847zGCUQuGSV lJwA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i7-v6si15011731plt.433.2018.08.01.10.24.26; Wed, 01 Aug 2018 10:24:41 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406364AbeHATJv (ORCPT + 99 others); Wed, 1 Aug 2018 15:09:51 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:50852 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405274AbeHATJu (ORCPT ); Wed, 1 Aug 2018 15:09:50 -0400 Received: from localhost (D57E6652.static.ziggozakelijk.nl [213.126.102.82]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 09676D40; Wed, 1 Aug 2018 17:23:07 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Khuong Dinh , Lorenzo Pieralisi , Bjorn Helgaas , Tanmay Inamdar , Sudip Mukherjee Subject: [PATCH 4.14 224/246] PCI: xgene: Remove leftover pci_scan_child_bus() call Date: Wed, 1 Aug 2018 18:52:14 +0200 Message-Id: <20180801165022.423159135@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180801165011.700991984@linuxfoundation.org> References: <20180801165011.700991984@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Lorenzo Pieralisi commit 94b9d290b753cbbc87971ee134511245f5872a83 upstream. The changes in commit 9af275be15f7 ("PCI: xgene: Convert PCI scan API to pci_scan_root_bus_bridge()") converted the xgene PCI host driver to the new pci_scan_root_bus_bridge() bus scanning API but erroneously left the existing pci_scan_child_bus() call in place which resulted in duplicate PCI bus enumerations. Remove the leftover pci_scan_child_bus() call to properly complete the API conversion. Fixes: 9af275be15f7 ("PCI: xgene: Convert PCI scan API to pci_scan_root_bus_bridge()") Tested-by: Khuong Dinh Signed-off-by: Lorenzo Pieralisi Cc: # 4.13+ Cc: Bjorn Helgaas Cc: Tanmay Inamdar Signed-off-by: Sudip Mukherjee Signed-off-by: Greg Kroah-Hartman --- drivers/pci/host/pci-xgene.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/pci/host/pci-xgene.c +++ b/drivers/pci/host/pci-xgene.c @@ -686,7 +686,6 @@ static int xgene_pcie_probe_bridge(struc bus = bridge->bus; - pci_scan_child_bus(bus); pci_assign_unassigned_bus_resources(bus); list_for_each_entry(child, &bus->children, node) pcie_bus_configure_settings(child);