Re: [PATCH] platform/x86: wmi: Fix printing info about WDG structure

From: Andy Shevchenko
Date: Sat May 27 2017 - 16:49:28 EST


On Sat, May 27, 2017 at 11:48 PM, Pali RohÃr <pali.rohar@xxxxxxxxx> wrote:
> On Saturday 27 May 2017 15:33:14 Andy Shevchenko wrote:
>> On Sat, May 27, 2017 at 4:17 PM, Pali RohÃr <pali.rohar@xxxxxxxxx>
>> wrote:

>> Okay, got it. But on your opinion does it make sense to do
>>
>> pr_info("\tobject_id: %2pE\n", g->object_id);
>>
>> instead?
>>
>> For ASCII it will go as is previously, otherwise escaping would be
>> done.
>
> Both is OK for me. Do you want to send a new patch with %2pE?

To me it looks slightly cleaner.

--
With Best Regards,
Andy Shevchenko