>> - printk(KERN_ERR "PCI: No memory for %s I/O port space\n", >> + pr_err("PCI: No memory for %s I/O port space\n", > > Use dev_err() here, since you have the struct acpi_device pointer > (info->bridge). Sure, I will update it. > >> info->name); >> goto out; >> } >> @@ -444,7 +444,7 @@ struct pci_bus *pci_acpi_scan_root(struct acpi_pci_root *root) >> >> info = kzalloc(sizeof(*info), GFP_KERNEL); >> if (!info) { >> - printk(KERN_WARNING "pci_bus %04x:%02x: " >> + pr_warn("pci_bus %04x:%02x: " >> "ignored (out of memory)\n", domain, busnum); > > And here. will update too, thanks! > >> kfree(controller); >> return NULL; >> @@ -779,7 +779,7 @@ static void __init set_pci_dfl_cacheline_size(void) >> >> status = ia64_pal_cache_summary(&levels, &unique_caches); >> if (status != 0) { >> - printk(KERN_ERR "%s: ia64_pal_cache_summary() failed " >> + pr_err("%s: ia64_pal_cache_summary() failed " >> "(status=%ld)\n", __func__, status); >> return; >> } >> @@ -787,7 +787,7 @@ static void __init set_pci_dfl_cacheline_size(void) >> status = ia64_pal_cache_config_info(levels - 1, >> /* cache_type (data_or_unified)= */ 2, &cci); >> if (status != 0) { >> - printk(KERN_ERR "%s: ia64_pal_cache_config_info() failed " >> + pr_err("%s: ia64_pal_cache_config_info() failed " >> "(status=%ld)\n", __func__, status); >> return; >> } >> -- >> 1.7.1 >> >> > > . > -- Thanks! Yijing -- To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |