lkml.org 
[lkml]   [2016]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH 1/3] intel_pstate: Use pr_fmt
Date
On 2106.03.06 08:13 Joe Perches wrote:
> On Wed, 2016-04-06 at 07:51 -0700, Doug Smythies wrote:
>> On 2016.04.05 02:44 Srinivas Pandruvada wrote:
>>> On Tue, 2016-04-05 at 13:28 -0700, Joe Perches wrote:

> The more common kernel mechanism to prefix messages
> is using a pr_fmt define like:
>
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

> so this prefixes all messages and means that any
> new message added later will also be prefixed without
> copy/paste defects or omission.

Ok. Thanks for your reply and education (and Viresh also).
And sorry for my the ignorance in my patch submission last May.

... Doug


\
 
 \ /
  Last update: 2016-04-06 18:01    [W:0.044 / U:1.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site