summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.c
diff options
context:
space:
mode:
authorMohan Kumar <mohankumar718@gmail.com>2019-04-20 07:03:46 +0300
committerBjorn Helgaas <bhelgaas@google.com>2019-05-09 07:49:54 -0500
commit25da8dbaaf0679b3b22c783952a8392071cfa135 (patch)
tree2aa04656e1cc72bf7a968f1028b42f7ffd981da1 /drivers/pci/pci.c
parent7db4af43c97b68dc65394c799b86cdd0fffe5f8d (diff)
downloadlinux-25da8dbaaf0679b3b22c783952a8392071cfa135.tar.gz
linux-25da8dbaaf0679b3b22c783952a8392071cfa135.tar.bz2
linux-25da8dbaaf0679b3b22c783952a8392071cfa135.zip
PCI: Replace printk(KERN_INFO) with pr_info(), etc
Replace printk() with pr_*() to be more consistent with other logging and avoid checkpatch warnings. Link: https://lore.kernel.org/lkml/1555733026-19609-1-git-send-email-mohankumar718@gmail.com Link: https://lore.kernel.org/lkml/1555733130-19804-1-git-send-email-mohankumar718@gmail.com Signed-off-by: Mohan Kumar <mohankumar718@gmail.com> [bhelgaas: squash in similar changes from second patch in series] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r--drivers/pci/pci.c3
1 files changed, 1 insertions, 2 deletions
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)
disable_acs_redir_param =
kstrdup(str + 18, GFP_KERNEL);
} else {
- printk(KERN_ERR "PCI: Unknown option `%s'\n",
- str);
+ pr_err("PCI: Unknown option `%s'\n", str);
}
}
str = k;