Re: [PATCH] sound: stm32: replace "%p" with "%pK"

From: Benjamin Gaignard
Date: Sat Jul 07 2018 - 07:29:23 EST


2018-07-06 16:59 GMT+02:00 Takashi Iwai <tiwai@xxxxxxx>:
> On Fri, 06 Jul 2018 15:07:03 +0200,
> Benjamin Gaignard wrote:
>>
>> The format specifier "%p" can leak kernel addresses.
>> Use "%pK" instead.
>>
>> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@xxxxxx>
>
> The code change itself is OK (apart from the subject prefix to be
> "ASoC"). But do we really want to patch manually every single place
> like this? There are thousands of files using '%p'.

I have limited myself to the few remaining %p in STM32 architecture.

>
>
> thanks,
>
> Takashi