]> err.no Git - linux-2.6/commitdiff
PCI: x86-64: mmconfig missing printk levels
authorDave Jones <davej@redhat.com>
Fri, 20 Oct 2006 21:45:33 +0000 (14:45 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Oct 2006 18:20:33 +0000 (11:20 -0700)
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86_64/pci/mmconfig.c

index 7732f4254d21810a4c5441278032169bf59f7e36..e61093b34c268ea77590a0f3545458f5def50674 100644 (file)
@@ -220,7 +220,7 @@ void __init pci_mmcfg_init(int type)
 
        pci_mmcfg_virt = kmalloc(sizeof(*pci_mmcfg_virt) * pci_mmcfg_config_num, GFP_KERNEL);
        if (pci_mmcfg_virt == NULL) {
-               printk("PCI: Can not allocate memory for mmconfig structures\n");
+               printk(KERN_ERR "PCI: Can not allocate memory for mmconfig structures\n");
                return;
        }
        for (i = 0; i < pci_mmcfg_config_num; ++i) {
@@ -228,7 +228,8 @@ void __init pci_mmcfg_init(int type)
                pci_mmcfg_virt[i].virt = ioremap_nocache(pci_mmcfg_config[i].base_address,
                                                         MMCONFIG_APER_MAX);
                if (!pci_mmcfg_virt[i].virt) {
-                       printk("PCI: Cannot map mmconfig aperture for segment %d\n",
+                       printk(KERN_ERR "PCI: Cannot map mmconfig aperture for "
+                                       "segment %d\n",
                               pci_mmcfg_config[i].pci_segment_group_number);
                        return;
                }