* [PATCH] [kernel]: process: replace printk with pr_err
[not found] <[kernel]: process: replace printk with pr_err>
@ 2014-10-16 5:06 ` Vishnu Pratap Singh
2014-10-16 8:37 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Vishnu Pratap Singh @ 2014-10-16 5:06 UTC (permalink / raw)
To: akpm, rjw, len.brown, pavel, linux-pm, linux-kernel
Cc: cpgs, pintu.k, vishu13285, Vishnu Pratap Singh
This patch replaces printk(KERN_ERR...) with pr_err found.
Signed-off-by: Vishnu Pratap Singh <vishnu.ps@samsung.com>
---
kernel/power/process.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/power/process.c b/kernel/power/process.c
index 7b32322..401f7ee 100644
--- a/kernel/power/process.c
+++ b/kernel/power/process.c
@@ -85,7 +85,7 @@ static int try_to_freeze_tasks(bool user_only)
if (todo) {
printk("\n");
- printk(KERN_ERR "Freezing of tasks %s after %d.%03d seconds "
+ pr_err("Freezing of tasks %s after %d.%03d seconds "
"(%d tasks refusing to freeze, wq_busy=%d):\n",
wakeup ? "aborted" : "failed",
elapsed_msecs / 1000, elapsed_msecs % 1000,
--
1.8.3.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] [kernel]: process: replace printk with pr_err
2014-10-16 5:06 ` [PATCH] [kernel]: process: replace printk with pr_err Vishnu Pratap Singh
@ 2014-10-16 8:37 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2014-10-16 8:37 UTC (permalink / raw)
To: Vishnu Pratap Singh
Cc: akpm, len.brown, pavel, linux-pm, linux-kernel, cpgs, pintu.k,
vishu13285
On Thursday, October 16, 2014 10:36:35 AM Vishnu Pratap Singh wrote:
> This patch replaces printk(KERN_ERR...) with pr_err found.
What is the reason? Does the existing code cause any problems to happen?
> Signed-off-by: Vishnu Pratap Singh <vishnu.ps@samsung.com>
> ---
> kernel/power/process.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/power/process.c b/kernel/power/process.c
> index 7b32322..401f7ee 100644
> --- a/kernel/power/process.c
> +++ b/kernel/power/process.c
> @@ -85,7 +85,7 @@ static int try_to_freeze_tasks(bool user_only)
>
> if (todo) {
> printk("\n");
> - printk(KERN_ERR "Freezing of tasks %s after %d.%03d seconds "
> + pr_err("Freezing of tasks %s after %d.%03d seconds "
> "(%d tasks refusing to freeze, wq_busy=%d):\n",
> wakeup ? "aborted" : "failed",
> elapsed_msecs / 1000, elapsed_msecs % 1000,
>
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-16 8:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <[kernel]: process: replace printk with pr_err>
2014-10-16 5:06 ` [PATCH] [kernel]: process: replace printk with pr_err Vishnu Pratap Singh
2014-10-16 8:37 ` 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®