diff options
author | Mohan Kumar <mohankumar718@gmail.com> | 2019-04-20 06:07:20 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-05-09 14:49:58 +0200 |
commit | 34c6b7105e5a11174f856483cde8ad6e61b7236a (patch) | |
tree | a4fcbb148402bfcaf5b1aa1c662e87466aac4e82 /drivers/pci/bus.c | |
parent | PCI: Replace printk(KERN_INFO) with pr_info(), etc (diff) | |
download | linux-34c6b7105e5a11174f856483cde8ad6e61b7236a.tar.xz linux-34c6b7105e5a11174f856483cde8ad6e61b7236a.zip |
PCI: Replace dev_printk(KERN_DEBUG) with dev_info(), etc
Replace dev_printk(KERN_DEBUG) with dev_info(), etc to be more consistent
with other logging and avoid checkpatch warnings.
The KERN_DEBUG messages could be converted to dev_dbg(), but that depends
on CONFIG_DYNAMIC_DEBUG and DEBUG, and we want most of these messages to
*always* be in the dmesg log.
Link: https://lore.kernel.org/lkml/1555733240-19875-1-git-send-email-mohankumar718@gmail.com
Signed-off-by: Mohan Kumar <mohankumar718@gmail.com>
[bhelgaas: commit log]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/bus.c')
-rw-r--r-- | drivers/pci/bus.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c index 2179a8baef52..495059d923f7 100644 --- a/drivers/pci/bus.c +++ b/drivers/pci/bus.c @@ -288,8 +288,7 @@ bool pci_bus_clip_resource(struct pci_dev *dev, int idx) res->end = end; res->flags &= ~IORESOURCE_UNSET; orig_res.flags &= ~IORESOURCE_UNSET; - pci_printk(KERN_DEBUG, dev, "%pR clipped to %pR\n", - &orig_res, res); + pci_info(dev, "%pR clipped to %pR\n", &orig_res, res); return true; } |