The patch titled Subject: mn10300: use for_each_pci_dev to simplify the code has been added to the -mm tree. Its filename is mn10300-use-for_each_pci_dev-to-simplify-the-code.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx> Subject: mn10300: use for_each_pci_dev to simplify the code Signed-off-by: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx> Cc: David Howells <dhowells@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/mn10300/unit-asb2305/pci-irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch/mn10300/unit-asb2305/pci-irq.c~mn10300-use-for_each_pci_dev-to-simplify-the-code arch/mn10300/unit-asb2305/pci-irq.c --- a/arch/mn10300/unit-asb2305/pci-irq.c~mn10300-use-for_each_pci_dev-to-simplify-the-code +++ a/arch/mn10300/unit-asb2305/pci-irq.c @@ -29,7 +29,7 @@ void __init pcibios_fixup_irqs(void) struct pci_dev *dev = NULL; u8 line, pin; - while ((dev = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) { + for_each_pci_dev(dev) { pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin); if (pin) { dev->irq = XIRQ1; _ Patches currently in -mm which might be from yongjun_wei@xxxxxxxxxxxxxxxxx are linux-next.patch mn10300-use-for_each_pci_dev-to-simplify-the-code.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html