From: Dan Carpenter Date: Thu, 5 Mar 2015 11:27:00 +0000 (+0300) Subject: m68k/pci: Remove a superflous KERN_ERR X-Git-Tag: v4.14-rc1~5633^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=79bf442c79d67f509060b009ebc55795e918006a;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Geert Uytterhoeven --- diff --git a/arch/m68k/kernel/pcibios.c b/arch/m68k/kernel/pcibios.c index 931a31f..8520250 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; }