mirror of
https://github.com/joel16/android_kernel_sony_msm8994.git
synced 2024-11-25 13:10:31 +00:00
sysfs: printk format warning
Fix sysfs printk format warning: fs/sysfs/bin.c:62: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
3265b54556
commit
2609e7b9be
@ -59,7 +59,7 @@ read(struct file * file, char __user * userbuf, size_t count, loff_t * off)
|
||||
if (copy_to_user(userbuf, buffer, count))
|
||||
return -EFAULT;
|
||||
|
||||
pr_debug("offs = %lld, *off = %lld, count = %d\n", offs, *off, count);
|
||||
pr_debug("offs = %lld, *off = %lld, count = %zd\n", offs, *off, count);
|
||||
|
||||
*off = offs + count;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user