evdi: removed warning for 64 bit build
authorJinhyung Choi <jinhyung2.choi@samsung.com>
Mon, 13 Jul 2015 08:00:53 +0000 (17:00 +0900)
committerJinhyung Choi <jinhyung2.choi@samsung.com>
Mon, 13 Jul 2015 08:00:53 +0000 (17:00 +0900)
- changed printing format from %d to %zd for ssize_t
- It supported only after C99 compiler, so this will be re-checked later.

Change-Id: Idf1bdb753b8b93490ea5bb112cf5cdd75b7ad833
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
drivers/maru/maru_virtio_evdi.c

index 711b7b81a7fe6fba08b900b93bfaa212e25a36ff..87477507a3d382f0ca42e9c4d6db1893adfa23de 100644 (file)
@@ -347,7 +347,7 @@ static ssize_t evdi_write(struct file *f, const char __user *ubuf, size_t len,
        memset(&vevdi->send_msginfo, 0, sizeof(vevdi->send_msginfo));
        ret = copy_from_user(&vevdi->send_msginfo, ubuf, sizeof(vevdi->send_msginfo));
 
-       LOGDEBUG("copy_from_user ret = %d, msg = %s", ret, vevdi->send_msginfo.buf);
+       LOGDEBUG("copy_from_user ret = %zd, msg = %s", ret, vevdi->send_msginfo.buf);
 
        if (ret) {
                ret = -EFAULT;