mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[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: Zach Brown <zach.brown@oracle.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
4779efca14
commit
5c1fdf4150
1 changed files with 2 additions and 2 deletions
|
@ -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)))
|
||||
goto out;
|
||||
}
|
||||
pr_debug("%s: count = %d, ppos = %lld, buf = %s\n",
|
||||
__FUNCTION__,count,*ppos,buffer->page);
|
||||
pr_debug("%s: count = %zd, ppos = %lld, buf = %s\n",
|
||||
__FUNCTION__, count, *ppos, buffer->page);
|
||||
retval = flush_read_buffer(buffer,buf,count,ppos);
|
||||
out:
|
||||
up(&buffer->sem);
|
||||
|
|
Loading…
Reference in a new issue