forked from luck/tmp_suning_uos_patched
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:
parent
f7ddff54d0
commit
8db339d667
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user