diff options
author | Joe Perches <joe@perches.com> | 2016-10-25 06:00:08 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-12-04 01:54:34 +0100 |
commit | f2c2cbcc35d47f1471a04155ac357521f5170371 (patch) | |
tree | 7326dd8c67804daaf86902394b78c7469c271a58 /arch/powerpc/kernel/pci-common.c | |
parent | Linux 4.15-rc2 (diff) | |
download | linux-f2c2cbcc35d47f1471a04155ac357521f5170371.tar.xz linux-f2c2cbcc35d47f1471a04155ac357521f5170371.zip |
powerpc: Use pr_warn instead of pr_warning
At some point, pr_warning will be removed so all logging messages use
a consistent <prefix>_warn style.
Update arch/powerpc/
Miscellanea:
o Coalesce formats
o Realign arguments
o Use %s, __func__ instead of embedded function names
o Remove unnecessary line continuations
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Geoff Levand <geoff@infradead.org>
[mpe: Rebase due to some %pOF changes.]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/pci-common.c')
-rw-r--r-- | arch/powerpc/kernel/pci-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c index 0ac7aa346c69..7cd2803e2cc3 100644 --- a/arch/powerpc/kernel/pci-common.c +++ b/arch/powerpc/kernel/pci-common.c @@ -1276,8 +1276,8 @@ static void pcibios_allocate_bus_resources(struct pci_bus *bus) i + PCI_BRIDGE_RESOURCES) == 0) continue; } - pr_warning("PCI: Cannot allocate resource region " - "%d of PCI bridge %d, will remap\n", i, bus->number); + pr_warn("PCI: Cannot allocate resource region %d of PCI bridge %d, will remap\n", + i, bus->number); clear_resource: /* The resource might be figured out when doing * reassignment based on the resources required |