X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=sound%2Fsoc%2Fcodecs%2Frt_codec_ioctl.c;h=ab952a62a8d5f70894e45e5863c31eb9bf5546d0;hb=ec49d469586384bf56caeb49623e081210913df5;hp=0b993704f05a9b6a0ef5a2ef6224287981f499ec;hpb=107d3e535874dc06e9bf0282d9bd707f7595eafe;p=firefly-linux-kernel-4.4.55.git diff --git a/sound/soc/codecs/rt_codec_ioctl.c b/sound/soc/codecs/rt_codec_ioctl.c index 0b993704f05a..ab952a62a8d5 100644 --- a/sound/soc/codecs/rt_codec_ioctl.c +++ b/sound/soc/codecs/rt_codec_ioctl.c @@ -43,8 +43,8 @@ static int rt_codec_hwdep_ioctl_common(struct snd_hwdep *hw, dev_err(codec->dev,"copy_from_user faild\n"); return -EFAULT; } - dev_dbg(codec->dev, "%s(): rt_codec.number=%d, cmd=%d\n", - __func__, rt_codec.number, cmd); + dev_dbg(codec->dev, "%s(): rt_codec.number=%zu, cmd=%d\n", + __func__, rt_codec.number, cmd); buf = kmalloc(sizeof(*buf) * rt_codec.number, GFP_KERNEL); if (buf == NULL) return -ENOMEM;