diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2019-05-07 18:37:53 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-05-09 08:49:49 -0400 |
commit | 7db4af43c97b68dc65394c799b86cdd0fffe5f8d (patch) | |
tree | 07ac26d53db62f28a3235c26b7d1d9ec0777d281 /drivers/pci/quirks.c | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff) |
PCI: Use dev_printk() when possible
Use dev_printk() when possible. This makes messages more consistent with
other device-related messages and, in some cases, adds useful information.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/quirks.c')
-rw-r--r-- | drivers/pci/quirks.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index a59ad09ce911..0f0f73ff9ee2 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c | |||
@@ -177,9 +177,9 @@ static int __init pci_apply_final_quirks(void) | |||
177 | if (!tmp || cls == tmp) | 177 | if (!tmp || cls == tmp) |
178 | continue; | 178 | continue; |
179 | 179 | ||
180 | printk(KERN_DEBUG "PCI: CLS mismatch (%u != %u), using %u bytes\n", | 180 | pci_printk(KERN_DEBUG, dev, "CLS mismatch (%u != %u), using %u bytes\n", |
181 | cls << 2, tmp << 2, | 181 | cls << 2, tmp << 2, |
182 | pci_dfl_cache_line_size << 2); | 182 | pci_dfl_cache_line_size << 2); |
183 | pci_cache_line_size = pci_dfl_cache_line_size; | 183 | pci_cache_line_size = pci_dfl_cache_line_size; |
184 | } | 184 | } |
185 | } | 185 | } |