* [PATCH] Fix checkpatch warning in drivers/acpi/nvs.c
@ 2015-01-14 10:18 Moritz Fischer
2015-01-14 10:18 ` [PATCH] acpi: nvs: Fixed checkpatch.pl warning Moritz Fischer
2015-01-15 8:53 ` [PATCH] Fix checkpatch warning in drivers/acpi/nvs.c Rafael J. Wysocki
0 siblings, 2 replies; 3+ messages in thread
From: Moritz Fischer @ 2015-01-14 10:18 UTC (permalink / raw)
To: rjw; +Cc: lenb, linux-acpi, linux-kernel, Moritz Fischer
Hi,
attached a simple patch fixing a checkpatch warning about
printk(KERN_INFO vs pr_info.
Moritz Fischer (1):
acpi: nvs: Fixed checkpatch.pl warning.
drivers/acpi/nvs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--
1.9.3
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] acpi: nvs: Fixed checkpatch.pl warning.
2015-01-14 10:18 [PATCH] Fix checkpatch warning in drivers/acpi/nvs.c Moritz Fischer
@ 2015-01-14 10:18 ` Moritz Fischer
2015-01-15 8:53 ` [PATCH] Fix checkpatch warning in drivers/acpi/nvs.c Rafael J. Wysocki
1 sibling, 0 replies; 3+ messages in thread
From: Moritz Fischer @ 2015-01-14 10:18 UTC (permalink / raw)
To: rjw; +Cc: lenb, linux-acpi, linux-kernel, Moritz Fischer
Patch replaces printk(KERN_INFO with pr_info.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
---
drivers/acpi/nvs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/nvs.c b/drivers/acpi/nvs.c
index 85287b8..e22235c 100644
--- a/drivers/acpi/nvs.c
+++ b/drivers/acpi/nvs.c
@@ -171,7 +171,7 @@ int suspend_nvs_save(void)
{
struct nvs_page *entry;
- printk(KERN_INFO "PM: Saving platform NVS memory\n");
+ pr_info("PM: Saving platform NVS memory\n");
list_for_each_entry(entry, &nvs_list, node)
if (entry->data) {
@@ -203,7 +203,7 @@ void suspend_nvs_restore(void)
{
struct nvs_page *entry;
- printk(KERN_INFO "PM: Restoring platform NVS memory\n");
+ pr_info("PM: Restoring platform NVS memory\n");
list_for_each_entry(entry, &nvs_list, node)
if (entry->data)
--
1.9.3
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Fix checkpatch warning in drivers/acpi/nvs.c
2015-01-14 10:18 [PATCH] Fix checkpatch warning in drivers/acpi/nvs.c Moritz Fischer
2015-01-14 10:18 ` [PATCH] acpi: nvs: Fixed checkpatch.pl warning Moritz Fischer
@ 2015-01-15 8:53 ` Rafael J. Wysocki
1 sibling, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2015-01-15 8:53 UTC (permalink / raw)
To: Moritz Fischer; +Cc: lenb, linux-acpi, linux-kernel
On Wednesday, January 14, 2015 11:18:52 AM Moritz Fischer wrote:
> Hi,
>
> attached a simple patch fixing a checkpatch warning about
> printk(KERN_INFO vs pr_info.
Which is not going to be applied unless it fixes a functional problem.
Thanks!
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-15 8:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-14 10:18 [PATCH] Fix checkpatch warning in drivers/acpi/nvs.c Moritz Fischer
2015-01-14 10:18 ` [PATCH] acpi: nvs: Fixed checkpatch.pl warning Moritz Fischer
2015-01-15 8:53 ` [PATCH] Fix checkpatch warning in drivers/acpi/nvs.c Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®