diff options
Diffstat (limited to 'drivers/pci/pci-sysfs.c')
-rw-r--r-- | drivers/pci/pci-sysfs.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/pci/pci-sysfs.c b/drivers/pci/pci-sysfs.c index 41d8d0307347..9ff0a901ecf7 100644 --- a/drivers/pci/pci-sysfs.c +++ b/drivers/pci/pci-sysfs.c | |||
@@ -286,8 +286,8 @@ static ssize_t msi_bus_store(struct device *dev, struct device_attribute *attr, | |||
286 | !!val) { | 286 | !!val) { |
287 | pdev->subordinate->bus_flags ^= PCI_BUS_FLAGS_NO_MSI; | 287 | pdev->subordinate->bus_flags ^= PCI_BUS_FLAGS_NO_MSI; |
288 | 288 | ||
289 | dev_warn(&pdev->dev, "forced subordinate bus to%s support MSI," | 289 | dev_warn(&pdev->dev, "forced subordinate bus to%s support MSI, bad things could happen\n", |
290 | " bad things could happen\n", val ? "" : " not"); | 290 | val ? "" : " not"); |
291 | } | 291 | } |
292 | 292 | ||
293 | return count; | 293 | return count; |
@@ -945,8 +945,7 @@ legacy_io_err: | |||
945 | kfree(b->legacy_io); | 945 | kfree(b->legacy_io); |
946 | b->legacy_io = NULL; | 946 | b->legacy_io = NULL; |
947 | kzalloc_err: | 947 | kzalloc_err: |
948 | printk(KERN_WARNING "pci: warning: could not create legacy I/O port " | 948 | printk(KERN_WARNING "pci: warning: could not create legacy I/O port and ISA memory resources to sysfs\n"); |
949 | "and ISA memory resources to sysfs\n"); | ||
950 | return; | 949 | return; |
951 | } | 950 | } |
952 | 951 | ||
@@ -1006,8 +1005,7 @@ static int pci_mmap_resource(struct kobject *kobj, struct bin_attribute *attr, | |||
1006 | return -ENODEV; | 1005 | return -ENODEV; |
1007 | 1006 | ||
1008 | if (!pci_mmap_fits(pdev, i, vma, PCI_MMAP_SYSFS)) { | 1007 | if (!pci_mmap_fits(pdev, i, vma, PCI_MMAP_SYSFS)) { |
1009 | WARN(1, "process \"%s\" tried to map 0x%08lx bytes " | 1008 | WARN(1, "process \"%s\" tried to map 0x%08lx bytes at page 0x%08lx on %s BAR %d (start 0x%16Lx, size 0x%16Lx)\n", |
1010 | "at page 0x%08lx on %s BAR %d (start 0x%16Lx, size 0x%16Lx)\n", | ||
1011 | current->comm, vma->vm_end-vma->vm_start, vma->vm_pgoff, | 1009 | current->comm, vma->vm_end-vma->vm_start, vma->vm_pgoff, |
1012 | pci_name(pdev), i, | 1010 | pci_name(pdev), i, |
1013 | (u64)pci_resource_start(pdev, i), | 1011 | (u64)pci_resource_start(pdev, i), |