projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c4f460
)
PCI/ASPM: Convert printk() to pr_*() and add include
author
Ilpo Järvinen
<ilpo.jarvinen@linux.intel.com>
Fri, 15 Sep 2023 15:57:52 +0000
(18:57 +0300)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Tue, 10 Oct 2023 21:03:52 +0000
(16:03 -0500)
Convert printk(KERN_INFO ...) to pr_info() and add the correct include
for it.
Link:
https://lore.kernel.org/r/20230915155752.84640-8-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/aspm.c
patch
|
blob
|
history
diff --git
a/drivers/pci/pcie/aspm.c
b/drivers/pci/pcie/aspm.c
index fb25892d15b7ca1f23d658b84bc2c677f0bad390..855feaefd7f4cce930eee462f04952fb741f8d35 100644
(file)
--- a/
drivers/pci/pcie/aspm.c
+++ b/
drivers/pci/pcie/aspm.c
@@
-18,6
+18,7
@@
#include <linux/errno.h>
#include <linux/pm.h>
#include <linux/init.h>
+#include <linux/printk.h>
#include <linux/slab.h>
#include <linux/time.h>
@@
-1367,10
+1368,10
@@
static int __init pcie_aspm_disable(char *str)
aspm_policy = POLICY_DEFAULT;
aspm_disabled = 1;
aspm_support_enabled = false;
- pr
intk(KERN_INFO
"PCIe ASPM is disabled\n");
+ pr
_info(
"PCIe ASPM is disabled\n");
} else if (!strcmp(str, "force")) {
aspm_force = 1;
- pr
intk(KERN_INFO
"PCIe ASPM is forcibly enabled\n");
+ pr
_info(
"PCIe ASPM is forcibly enabled\n");
}
return 1;
}