lkml.org 
[lkml]   [2018]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V9] powercap/drivers/idle_injection: Add an idle injection framework
On 25-06-18, 10:41, Rafael J. Wysocki wrote:
> On Tue, Jun 19, 2018 at 3:23 PM, Daniel Lezcano
> > + if (per_cpu(idle_injection_device, cpu)) {
> > + pr_err("cpu%d is already registered\n", cpu);
>
> If you print something like this, it should be clear what it is about
> and what piece of code it comes from as there will be no context
> around it it the log.

It should be good as we have this at the top.

#define pr_fmt(fmt) "ii_dev: " fmt


--
viresh

\
 
 \ /
  Last update: 2018-06-25 11:46    [W:0.873 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site