diff options
author | Ryan Desfosses <ryan@desfo.org> | 2014-04-18 20:13:50 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-06-10 22:20:42 -0400 |
commit | 227f06470502c4fea3d93df1f12a77e3e37f6263 (patch) | |
tree | 817a80fa89d17305a47a3e4e4012d36ae6cac36c /drivers/pci/pci-sysfs.c | |
parent | 3c78bc61f5ef3bc87e7f94f67ec737d2273f120b (diff) |
PCI: Merge multi-line quoted strings
Merge quoted strings that are broken across lines into a single entity.
The compiler merges them anyway, but checkpatch complains about it, and
merging them makes it easier to grep for strings.
No functional change.
[bhelgaas: changelog, do the same for everything under drivers/pci]
Signed-off-by: Ryan Desfosses <ryan@desfo.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
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), |