[alsa-devel] [PATCH] sound: stm32: replace "%p" with "%pK"

Benjamin Gaignard benjamin.gaignard at linaro.org
Sat Jul 7 13:29:18 CEST 2018


2018-07-06 16:59 GMT+02:00 Takashi Iwai <tiwai at suse.de>:
> 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 at st.com>
>
> 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


More information about the Alsa-devel mailing list