diff options
author | benjamin.gaignard@linaro.org <benjamin.gaignard@linaro.org> | 2018-07-06 15:07:03 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-07-09 12:15:30 +0100 |
commit | 8db339d66774821091f73bd0e57c8a7511c5988e (patch) | |
tree | b14a1a8a80a7d8b3e7b6804ac786d79ee8cfcda0 /sound/soc/stm | |
parent | f7ddff54d0a0f068442414b48bec7f22aa777de7 (diff) | |
download | talos-obmc-linux-8db339d66774821091f73bd0e57c8a7511c5988e.tar.gz talos-obmc-linux-8db339d66774821091f73bd0e57c8a7511c5988e.zip |
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>
Diffstat (limited to 'sound/soc/stm')
-rw-r--r-- | sound/soc/stm/stm32_adfsdm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/stm/stm32_adfsdm.c b/sound/soc/stm/stm32_adfsdm.c index db73fef3e500..0e9373064032 100644 --- a/sound/soc/stm/stm32_adfsdm.c +++ b/sound/soc/stm/stm32_adfsdm.c @@ -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) { |