From: Zach Brown Date: Tue, 3 Oct 2006 08:16:05 +0000 (-0700) Subject: [PATCH] pr_debug: configfs: use size_t length modifier in pr_debug format argument X-Git-Tag: 2.1b_release~31099 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4779efca147475a708e84d902e096bbd20e613b7;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git [PATCH] pr_debug: configfs: use size_t length modifier in pr_debug format argument configfs: use size_t length modifier in pr_debug format argument Signed-off-by: Zach Brown Acked-by: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/configfs/file.c b/fs/configfs/file.c index 85105e5..e6d5754 100644 --- a/fs/configfs/file.c +++ b/fs/configfs/file.c @@ -137,8 +137,8 @@ configfs_read_file(struct file *file, char __user *buf, size_t count, loff_t *pp 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);