mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
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>
This commit is contained in:
parent
3c78bc61f5
commit
227f064705
28 changed files with 169 additions and 249 deletions
|
@ -96,8 +96,8 @@ void pci_update_resource(struct pci_dev *dev, int resno)
|
|||
pci_write_config_dword(dev, reg + 4, new);
|
||||
pci_read_config_dword(dev, reg + 4, &check);
|
||||
if (check != new) {
|
||||
dev_err(&dev->dev, "BAR %d: error updating "
|
||||
"(high %#08x != %#08x)\n", resno, new, check);
|
||||
dev_err(&dev->dev, "BAR %d: error updating (high %#08x != %#08x)\n",
|
||||
resno, new, check);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -289,8 +289,8 @@ int pci_assign_resource(struct pci_dev *dev, int resno)
|
|||
res->flags |= IORESOURCE_UNSET;
|
||||
align = pci_resource_alignment(dev, res);
|
||||
if (!align) {
|
||||
dev_info(&dev->dev, "BAR %d: can't assign %pR "
|
||||
"(bogus alignment)\n", resno, res);
|
||||
dev_info(&dev->dev, "BAR %d: can't assign %pR (bogus alignment)\n",
|
||||
resno, res);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
@ -325,8 +325,8 @@ int pci_reassign_resource(struct pci_dev *dev, int resno, resource_size_t addsiz
|
|||
|
||||
res->flags |= IORESOURCE_UNSET;
|
||||
if (!res->parent) {
|
||||
dev_info(&dev->dev, "BAR %d: can't reassign an unassigned resource %pR "
|
||||
"\n", resno, res);
|
||||
dev_info(&dev->dev, "BAR %d: can't reassign an unassigned resource %pR\n",
|
||||
resno, res);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue