diff options
| -rw-r--r-- | drivers/pci/bus.c | 2 | ||||
| -rw-r--r-- | drivers/pci/pci-acpi.c | 11 | ||||
| -rw-r--r-- | drivers/pci/pci-stub.c | 10 | ||||
| -rw-r--r-- | drivers/pci/pci.c | 3 | ||||
| -rw-r--r-- | drivers/pci/quirks.c | 2 | ||||
| -rw-r--r-- | drivers/pci/slot.c | 2 |
6 files changed, 12 insertions, 18 deletions
diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c index 5cb40b2518f9..2179a8baef52 100644 --- a/drivers/pci/bus.c +++ b/drivers/pci/bus.c | |||
| @@ -23,7 +23,7 @@ void pci_add_resource_offset(struct list_head *resources, struct resource *res, | |||
| 23 | 23 | ||
| 24 | entry = resource_list_create_entry(res, 0); | 24 | entry = resource_list_create_entry(res, 0); |
| 25 | if (!entry) { | 25 | if (!entry) { |
| 26 | printk(KERN_ERR "PCI: can't add host bridge window %pR\n", res); | 26 | pr_err("PCI: can't add host bridge window %pR\n", res); |
| 27 | return; | 27 | return; |
| 28 | } | 28 | } |
| 29 | 29 | ||
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index e1949f7efd9c..3ada0266974c 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c | |||
| @@ -140,8 +140,7 @@ static acpi_status decode_type0_hpx_record(union acpi_object *record, | |||
| 140 | hpx->t0->enable_perr = fields[5].integer.value; | 140 | hpx->t0->enable_perr = fields[5].integer.value; |
| 141 | break; | 141 | break; |
| 142 | default: | 142 | default: |
| 143 | printk(KERN_WARNING | 143 | pr_warn("%s: Type 0 Revision %d record not supported\n", |
| 144 | "%s: Type 0 Revision %d record not supported\n", | ||
| 145 | __func__, revision); | 144 | __func__, revision); |
| 146 | return AE_ERROR; | 145 | return AE_ERROR; |
| 147 | } | 146 | } |
| @@ -169,8 +168,7 @@ static acpi_status decode_type1_hpx_record(union acpi_object *record, | |||
| 169 | hpx->t1->tot_max_split = fields[4].integer.value; | 168 | hpx->t1->tot_max_split = fields[4].integer.value; |
| 170 | break; | 169 | break; |
| 171 | default: | 170 | default: |
| 172 | printk(KERN_WARNING | 171 | pr_warn("%s: Type 1 Revision %d record not supported\n", |
| 173 | "%s: Type 1 Revision %d record not supported\n", | ||
| 174 | __func__, revision); | 172 | __func__, revision); |
| 175 | return AE_ERROR; | 173 | return AE_ERROR; |
| 176 | } | 174 | } |
| @@ -211,8 +209,7 @@ static acpi_status decode_type2_hpx_record(union acpi_object *record, | |||
| 211 | hpx->t2->sec_unc_err_mask_or = fields[17].integer.value; | 209 | hpx->t2->sec_unc_err_mask_or = fields[17].integer.value; |
| 212 | break; | 210 | break; |
| 213 | default: | 211 | default: |
| 214 | printk(KERN_WARNING | 212 | pr_warn("%s: Type 2 Revision %d record not supported\n", |
| 215 | "%s: Type 2 Revision %d record not supported\n", | ||
| 216 | __func__, revision); | 213 | __func__, revision); |
| 217 | return AE_ERROR; | 214 | return AE_ERROR; |
| 218 | } | 215 | } |
| @@ -272,7 +269,7 @@ static acpi_status acpi_run_hpx(acpi_handle handle, struct hotplug_params *hpx) | |||
| 272 | goto exit; | 269 | goto exit; |
| 273 | break; | 270 | break; |
| 274 | default: | 271 | default: |
| 275 | printk(KERN_ERR "%s: Type %d record not supported\n", | 272 | pr_err("%s: Type %d record not supported\n", |
| 276 | __func__, type); | 273 | __func__, type); |
| 277 | status = AE_ERROR; | 274 | status = AE_ERROR; |
| 278 | goto exit; | 275 | goto exit; |
diff --git a/drivers/pci/pci-stub.c b/drivers/pci/pci-stub.c index 66f8a59fadbd..e408099fea52 100644 --- a/drivers/pci/pci-stub.c +++ b/drivers/pci/pci-stub.c | |||
| @@ -66,20 +66,18 @@ static int __init pci_stub_init(void) | |||
| 66 | &class, &class_mask); | 66 | &class, &class_mask); |
| 67 | 67 | ||
| 68 | if (fields < 2) { | 68 | if (fields < 2) { |
| 69 | printk(KERN_WARNING | 69 | pr_warn("pci-stub: invalid ID string \"%s\"\n", id); |
| 70 | "pci-stub: invalid id string \"%s\"\n", id); | ||
| 71 | continue; | 70 | continue; |
| 72 | } | 71 | } |
| 73 | 72 | ||
| 74 | printk(KERN_INFO | 73 | pr_info("pci-stub: add %04X:%04X sub=%04X:%04X cls=%08X/%08X\n", |
| 75 | "pci-stub: add %04X:%04X sub=%04X:%04X cls=%08X/%08X\n", | ||
| 76 | vendor, device, subvendor, subdevice, class, class_mask); | 74 | vendor, device, subvendor, subdevice, class, class_mask); |
| 77 | 75 | ||
| 78 | rc = pci_add_dynid(&stub_driver, vendor, device, | 76 | rc = pci_add_dynid(&stub_driver, vendor, device, |
| 79 | subvendor, subdevice, class, class_mask, 0); | 77 | subvendor, subdevice, class, class_mask, 0); |
| 80 | if (rc) | 78 | if (rc) |
| 81 | printk(KERN_WARNING | 79 | pr_warn("pci-stub: failed to add dynamic ID (%d)\n", |
| 82 | "pci-stub: failed to add dynamic id (%d)\n", rc); | 80 | rc); |
| 83 | } | 81 | } |
| 84 | 82 | ||
| 85 | return 0; | 83 | return 0; |
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 7c1b362f599a..225145ba4cf3 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
| @@ -6265,8 +6265,7 @@ static int __init pci_setup(char *str) | |||
| 6265 | disable_acs_redir_param = | 6265 | disable_acs_redir_param = |
| 6266 | kstrdup(str + 18, GFP_KERNEL); | 6266 | kstrdup(str + 18, GFP_KERNEL); |
| 6267 | } else { | 6267 | } else { |
| 6268 | printk(KERN_ERR "PCI: Unknown option `%s'\n", | 6268 | pr_err("PCI: Unknown option `%s'\n", str); |
| 6269 | str); | ||
| 6270 | } | 6269 | } |
| 6271 | } | 6270 | } |
| 6272 | str = k; | 6271 | str = k; |
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 0f0f73ff9ee2..8d1135ca330f 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c | |||
| @@ -2596,7 +2596,7 @@ static void nvbridge_check_legacy_irq_routing(struct pci_dev *dev) | |||
| 2596 | pci_read_config_dword(dev, 0x74, &cfg); | 2596 | pci_read_config_dword(dev, 0x74, &cfg); |
| 2597 | 2597 | ||
| 2598 | if (cfg & ((1 << 2) | (1 << 15))) { | 2598 | if (cfg & ((1 << 2) | (1 << 15))) { |
| 2599 | printk(KERN_INFO "Rewriting IRQ routing register on MCP55\n"); | 2599 | pr_info("Rewriting IRQ routing register on MCP55\n"); |
| 2600 | cfg &= ~((1 << 2) | (1 << 15)); | 2600 | cfg &= ~((1 << 2) | (1 << 15)); |
| 2601 | pci_write_config_dword(dev, 0x74, cfg); | 2601 | pci_write_config_dword(dev, 0x74, cfg); |
| 2602 | } | 2602 | } |
diff --git a/drivers/pci/slot.c b/drivers/pci/slot.c index c46d5e1ff536..f4d92b1afe7b 100644 --- a/drivers/pci/slot.c +++ b/drivers/pci/slot.c | |||
| @@ -403,7 +403,7 @@ static int pci_slot_init(void) | |||
| 403 | pci_slots_kset = kset_create_and_add("slots", NULL, | 403 | pci_slots_kset = kset_create_and_add("slots", NULL, |
| 404 | &pci_bus_kset->kobj); | 404 | &pci_bus_kset->kobj); |
| 405 | if (!pci_slots_kset) { | 405 | if (!pci_slots_kset) { |
| 406 | printk(KERN_ERR "PCI: Slot initialization failure\n"); | 406 | pr_err("PCI: Slot initialization failure\n"); |
| 407 | return -ENOMEM; | 407 | return -ENOMEM; |
| 408 | } | 408 | } |
| 409 | return 0; | 409 | return 0; |
