diff options
| author | Xiaojun Sang <xsang@codeaurora.org> | 2016-08-30 14:21:57 +0800 |
|---|---|---|
| committer | Surendar karka <sukark@codeaurora.org> | 2016-09-30 15:41:24 +0530 |
| commit | 0e29472b1cd6649a69e10775d59c9c85b338d33c (patch) | |
| tree | 40a9834f35eddfc2c98a8749c7f18614b77d3780 /sound/soc/codecs/wsa881x.c | |
| parent | 9e4b3ba4afcff08bce320513610955391ab95806 (diff) | |
ASoC: soc: change audio drivers to use %pK
Change all audio driver to use %pK instead
of %p. %pK hides addresses when the users doesn't
have kernel permissions. If address information
is needed echo 0 > /proc/sys/kernel/kptr_restrict.
CRs-Fixed: 1052832
Change-Id: I9ff5cf06b019c566973eb609bf5d37969b98d31d
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
Diffstat (limited to 'sound/soc/codecs/wsa881x.c')
| -rw-r--r-- | sound/soc/codecs/wsa881x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wsa881x.c b/sound/soc/codecs/wsa881x.c index 0171810803a9..f46045babf64 100644 --- a/sound/soc/codecs/wsa881x.c +++ b/sound/soc/codecs/wsa881x.c @@ -857,7 +857,7 @@ int wsa881x_set_channel_map(struct snd_soc_codec *codec, u8 *port, u8 num_port, if (!port || !ch_mask || !ch_rate || (num_port > WSA881X_MAX_SWR_PORTS)) { dev_err(codec->dev, - "%s: Invalid port=%p, ch_mask=%p, ch_rate=%p\n", + "%s: Invalid port=%pK, ch_mask=%pK, ch_rate=%pK\n", __func__, port, ch_mask, ch_rate); return -EINVAL; } |
