summaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-08-21 14:42:05 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-01 13:01:48 +0100
commitf9902f24fc2d6bcc836622aa70e77f7f9dfb30a9 (patch)
treee7546ed6d23b6d499c6d93538c7b0c99b7389b8f /drivers/edac
parentMAINTAINERS: remove dropped edac_mce.* from the file (diff)
downloadlinux-f9902f24fc2d6bcc836622aa70e77f7f9dfb30a9.tar.xz
linux-f9902f24fc2d6bcc836622aa70e77f7f9dfb30a9.zip
i7core_edac: use edac's own way to print errors
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/i7core_edac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c
index 0bddc27362c1..304f550ed8d4 100644
--- a/drivers/edac/i7core_edac.c
+++ b/drivers/edac/i7core_edac.c
@@ -2068,7 +2068,8 @@ static void i7core_pci_ctl_create(struct i7core_pvt *pvt)
&pvt->i7core_dev->pdev[0]->dev,
EDAC_MOD_STR);
if (unlikely(!pvt->i7core_pci))
- pr_warn("Unable to setup PCI error report via EDAC\n");
+ i7core_printk(KERN_WARNING,
+ "Unable to setup PCI error report via EDAC\n");
}
static void i7core_pci_ctl_release(struct i7core_pvt *pvt)