From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Date: Wed, 8 Feb 2017 23:19:56 -0800 From: Christoph Hellwig To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, Rob Herring , Haiyang Zhang , Michal Simek , Jon Mason , Ray Jui , =?iso-8859-1?Q?S=F6ren?= Brinkmann , devel@linuxdriverproject.org, "K. Y. Srinivasan" , linux-arm-kernel@lists.infradead.org, Tanmay Inamdar Subject: Re: [PATCH v1 1/3] PCI: xilinx: Configure PCIe MPS settings Message-ID: <20170209071956.GA21656@infradead.org> References: <20170208224632.14351.89895.stgit@bhelgaas-glaptop.roam.corp.google.com> <20170208224930.14351.91597.stgit@bhelgaas-glaptop.roam.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20170208224930.14351.91597.stgit@bhelgaas-glaptop.roam.corp.google.com> List-ID: On Wed, Feb 08, 2017 at 04:49:30PM -0600, Bjorn Helgaas wrote: > + list_for_each_entry(child, &bus->children, node) > + pcie_bus_configure_settings(child); This loop is duplicated in just about every driver, so it it might be a good idea to provide a littler helper for it.