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...@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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/