From mboxrd@z Thu Jan 1 00:00:00 1970 From: Domen Puncer Date: Thu, 19 Aug 2004 11:11:23 +0000 Subject: [Kernel-janitors] [patch 2.6.8.1] list_for_each: Message-Id: <20040819111123.GA3499@masina.coderock.org> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============37713244537959056==" List-Id: References: <20040819111118.GA3469@masina.coderock.org> In-Reply-To: <20040819111118.GA3469@masina.coderock.org> To: kernel-janitors@vger.kernel.org --===============37713244537959056== Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi. s/for/list_for_each/ Signed-off-by: Domen Puncer --- c/arch/ppc64/kernel/pSeries_pci.c Sat Aug 14 10:57:26 2004 +++ list_for_each/arch/ppc64/kernel/pSeries_pci.c Thu Aug 15 17:58:22 2002 @@ -626,7 +624,7 @@ if (!pci_probe_only) return; - for (ln = bus->devices.next; ln != &bus->devices; ln = ln->next) { + list_for_each(ln, &bus->devices) { struct pci_dev *dev = pci_dev_b(ln); if ((dev->class >> 8) != PCI_CLASS_BRIDGE_PCI) pcibios_fixup_device_resources(dev, bus); --===============37713244537959056== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline _______________________________________________ Kernel-janitors mailing list Kernel-janitors@lists.osdl.org http://lists.osdl.org/mailman/listinfo/kernel-janitors --===============37713244537959056==--