|
@@ -59,7 +59,7 @@ read(struct file * file, char __user * userbuf, size_t count, loff_t * off)
|
|
if (copy_to_user(userbuf, buffer, count))
|
|
if (copy_to_user(userbuf, buffer, count))
|
|
return -EFAULT;
|
|
return -EFAULT;
|
|
|
|
|
|
- pr_debug("offs = %lld, *off = %lld, count = %zd\n", offs, *off, count);
|
|
|
|
|
|
+ pr_debug("offs = %lld, *off = %lld, count = %d\n", offs, *off, count);
|
|
|
|
|
|
*off = offs + count;
|
|
*off = offs + count;
|
|
|
|
|