From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753673Ab0ASVs1 (ORCPT ); Tue, 19 Jan 2010 16:48:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752681Ab0ASVs0 (ORCPT ); Tue, 19 Jan 2010 16:48:26 -0500 Received: from g4t0014.houston.hp.com ([15.201.24.17]:7815 "EHLO g4t0014.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751478Ab0ASVsZ (ORCPT ); Tue, 19 Jan 2010 16:48:25 -0500 Date: Tue, 19 Jan 2010 14:48:23 -0700 From: Alex Chiang To: Yinghai Lu Cc: Jesse Barnes , Ingo Molnar , Linus Torvalds , Ivan Kokshaysky , Kenji Kaneshige , Bjorn Helgaas , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH 05/11] pci: update bridge res to get more big range in pci assign unssign Message-ID: <20100119214823.GH11010@ldl.fc.hp.com> References: <1263640037-24134-1-git-send-email-yinghai@kernel.org> <1263640037-24134-6-git-send-email-yinghai@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1263640037-24134-6-git-send-email-yinghai@kernel.org> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > + /* retore size and flags */ "restore" > + for (list = head.next; list;) { > + struct resource *res = list->res; > + > + res->start = list->start; > + res->end = list->end; > + res->flags = list->flags; > + if (list->dev->subordinate) > + res->flags = 0; > + > + list = list->next; > + } > + free_failed_list(&head); > + > + goto again; > + > +enable_and_dump: > + /* Depth last, update the hardware. */ > + list_for_each_entry(bus, &pci_root_buses, node) { > pci_enable_bridges(bus); > } Strictly speaking, you don't need these curly braces. /ac