Commit 5c1fdf41 authored by Zach Brown's avatar Zach Brown Committed by Linus Torvalds

[PATCH] pr_debug: sysfs: use size_t length modifier in pr_debug format arguments

sysfs: use size_t length modifier in pr_debug format arguments
Signed-off-by: default avatarZach Brown <zach.brown@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 4779efca
...@@ -157,8 +157,8 @@ sysfs_read_file(struct file *file, char __user *buf, size_t count, loff_t *ppos) ...@@ -157,8 +157,8 @@ sysfs_read_file(struct file *file, char __user *buf, size_t count, loff_t *ppos)
if ((retval = fill_read_buffer(file->f_dentry,buffer))) if ((retval = fill_read_buffer(file->f_dentry,buffer)))
goto out; goto out;
} }
pr_debug("%s: count = %d, ppos = %lld, buf = %s\n", pr_debug("%s: count = %zd, ppos = %lld, buf = %s\n",
__FUNCTION__,count,*ppos,buffer->page); __FUNCTION__, count, *ppos, buffer->page);
retval = flush_read_buffer(buffer,buf,count,ppos); retval = flush_read_buffer(buffer,buf,count,ppos);
out: out:
up(&buffer->sem); up(&buffer->sem);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment