Messages in this thread Patch in this message | | | Subject | Re: [PATCH] More PCI fixes for 2.6.10-rc2 | Date | Tue, 30 Nov 2004 16:10:04 -0800 | From | Greg KH <> |
| |
ChangeSet 1.2223.2.5, 2004/11/30 11:54:13-08:00, greg@kroah.com
PCI: fix build warning in pci-sysfs.c
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/pci/pci-sysfs.c | 3 +-- 1 files changed, 1 insertion(+), 2 deletions(-)
diff -Nru a/drivers/pci/pci-sysfs.c b/drivers/pci/pci-sysfs.c --- a/drivers/pci/pci-sysfs.c 2004-11-30 15:47:05 -08:00 +++ b/drivers/pci/pci-sysfs.c 2004-11-30 15:47:05 -08:00 @@ -45,8 +45,7 @@ static ssize_t local_cpus_show(struct device *dev, char *buf) { - struct pci_dev *pdev = to_pci_dev(dev); - cpumask_t mask = pcibus_to_cpumask(pdev->bus->number); + cpumask_t mask = pcibus_to_cpumask(to_pci_dev(dev)->bus->number); int len = cpumask_scnprintf(buf, PAGE_SIZE-2, mask); strcat(buf,"\n"); return 1+len; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |