Hi Dave, On Mon, 12 May 2008 01:53:49 -0700 (PDT) David Miller wrote: > > :-) The fix is likely something like this: > > diff --git a/arch/powerpc/kernel/pci_64.c b/arch/powerpc/kernel/pci_64.c > index 5275074..776703e 100644 > --- a/arch/powerpc/kernel/pci_64.c > +++ b/arch/powerpc/kernel/pci_64.c > @@ -189,8 +189,8 @@ struct pci_dev *of_create_pci_dev(struct device_node *node, > > dev->cfg_size = pci_cfg_space_size(dev); > > - sprintf(pci_name(dev), "%04x:%02x:%02x.%d", pci_domain_nr(bus), > - dev->bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn)); > + dev_set_name(&dev->dev, "%04x:%02x:%02x.%d", pci_domain_nr(bus), > + dev->bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn)); > dev->class = get_int_prop(node, "class-code", 0); > dev->revision = get_int_prop(node, "revision-id", 0); > > diff --git a/arch/sparc64/kernel/pci.c b/arch/sparc64/kernel/pci.c > index 112b09f..bfc8c5d 100644 > --- a/arch/sparc64/kernel/pci.c > +++ b/arch/sparc64/kernel/pci.c > @@ -408,8 +408,8 @@ struct pci_dev *of_create_pci_dev(struct pci_pbm_info *pbm, > dev->class = class >> 8; > dev->revision = class & 0xff; > > - sprintf(pci_name(dev), "%04x:%02x:%02x.%d", pci_domain_nr(bus), > - dev->bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn)); > + dev_set_name(&dev->dev, "%04x:%02x:%02x.%d", pci_domain_nr(bus), > + dev->bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn)); > > if (ofpci_verbose) > printk(" class: 0x%x device name: %s\n", > Thanks. If there is nothing in Greg's tree tomorrow I will apply this temporarily. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/