ASoC: stm32: replace "%p" with "%pK"

The format specifier "%p" can leak kernel addresses.
Use "%pK" instead.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
benjamin.gaignard@linaro.org 2018-07-06 15:07:03 +02:00 committed by Mark Brown
parent f7ddff54d0
commit 8db339d667
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -149,7 +149,7 @@ static int stm32_afsdm_pcm_cb(const void *data, size_t size, void *private)
unsigned int old_pos = priv->pos;
unsigned int cur_size = size;
dev_dbg(rtd->dev, "%s: buff_add :%p, pos = %d, size = %zu\n",
dev_dbg(rtd->dev, "%s: buff_add :%pK, pos = %d, size = %zu\n",
__func__, &pcm_buff[priv->pos], priv->pos, size);
if ((priv->pos + size) > buff_size) {