mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-27 01:11:31 +00:00
PCI: Replace printks with appropriate pr_*()
Replace deprecated printk(KERN_ERR...) with pr_err() in pci-acpi.c Signed-off-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
parent
2dfca877b3
commit
e7d4515209
1 changed files with 2 additions and 2 deletions
|
|
@ -376,12 +376,12 @@ static int __init acpi_pci_init(void)
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
if (acpi_gbl_FADT.boot_flags & ACPI_FADT_NO_MSI) {
|
if (acpi_gbl_FADT.boot_flags & ACPI_FADT_NO_MSI) {
|
||||||
printk(KERN_INFO"ACPI FADT declares the system doesn't support MSI, so disable it\n");
|
pr_info("ACPI FADT declares the system doesn't support MSI, so disable it\n");
|
||||||
pci_no_msi();
|
pci_no_msi();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (acpi_gbl_FADT.boot_flags & ACPI_FADT_NO_ASPM) {
|
if (acpi_gbl_FADT.boot_flags & ACPI_FADT_NO_ASPM) {
|
||||||
printk(KERN_INFO"ACPI FADT declares the system doesn't support PCIe ASPM, so disable it\n");
|
pr_info("ACPI FADT declares the system doesn't support PCIe ASPM, so disable it\n");
|
||||||
pcie_no_aspm();
|
pcie_no_aspm();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue