diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-03-05 12:27:00 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2015-03-15 10:24:50 +0100 |
commit | 79bf442c79d67f509060b009ebc55795e918006a (patch) | |
tree | 124f18b8df2bae0b9cd3db4bf4bf1bb9c5753ba0 /arch/m68k/kernel | |
parent | m68k/defconfig: Update defconfigs for v4.0-rc1 (diff) | |
download | linux-79bf442c79d67f509060b009ebc55795e918006a.tar.xz linux-79bf442c79d67f509060b009ebc55795e918006a.zip |
m68k/pci: Remove a superflous KERN_ERR
pr_err() has a KERN_ERR built in. Smatch complains about these nowadays.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/kernel')
-rw-r--r-- | arch/m68k/kernel/pcibios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/kernel/pcibios.c b/arch/m68k/kernel/pcibios.c index 931a31ff59dd..8520250a1d93 100644 --- a/arch/m68k/kernel/pcibios.c +++ b/arch/m68k/kernel/pcibios.c @@ -62,7 +62,7 @@ int pcibios_enable_device(struct pci_dev *dev, int mask) r = dev->resource + idx; if (!r->start && r->end) { - pr_err(KERN_ERR "PCI: Device %s not available because of resource collisions\n", + pr_err("PCI: Device %s not available because of resource collisions\n", pci_name(dev)); return -EINVAL; } |