diff options
author | Jiang Liu <jiang.liu@huawei.com> | 2012-06-22 08:55:22 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-06-22 23:18:05 +0200 |
commit | 24c97f04c4570e02c5cf4b97c73ab9dc27bacdbe (patch) | |
tree | a4ad2b9c63cf3b8c2ba9f5adf5f84c0eae03a5be /arch/x86/pci/mmconfig_64.c | |
parent | x86/PCI: refine __pci_mmcfg_init() for better code readability (diff) | |
download | linux-24c97f04c4570e02c5cf4b97c73ab9dc27bacdbe.tar.xz linux-24c97f04c4570e02c5cf4b97c73ab9dc27bacdbe.zip |
x86/PCI: use pr_level() to replace printk(KERN_LEVEL)
Script checkpatch.pl recommends to replace printk(KERN_LVL) with pr_lvl(),
so do it.
Reviewed-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jiang Liu <liuj97@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'arch/x86/pci/mmconfig_64.c')
-rw-r--r-- | arch/x86/pci/mmconfig_64.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/pci/mmconfig_64.c b/arch/x86/pci/mmconfig_64.c index c206521fe98e..d4ebd07c306d 100644 --- a/arch/x86/pci/mmconfig_64.c +++ b/arch/x86/pci/mmconfig_64.c @@ -137,8 +137,7 @@ int __devinit pci_mmcfg_arch_map(struct pci_mmcfg_region *cfg) { cfg->virt = mcfg_ioremap(cfg); if (!cfg->virt) { - printk(KERN_ERR PREFIX "can't map MMCONFIG at %pR\n", - &cfg->res); + pr_err(PREFIX "can't map MMCONFIG at %pR\n", &cfg->res); return -ENOMEM; } |