RE: [PATCH 1/3] intel_pstate: Use pr_fmt
From: Doug Smythies
Date: Wed Apr 06 2016 - 11:47:39 EST
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