ASoC: es8323: update codec es8323 driver
[firefly-linux-kernel-4.4.55.git] / sound / soc / codecs / rt_codec_ioctl.c
index 0b993704f05a9b6a0ef5a2ef6224287981f499ec..ab952a62a8d5f70894e45e5863c31eb9bf5546d0 100644 (file)
@@ -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;