Re: [PATCH 3/10] configfs: use size_t length modifier in pr_debug format argument
- From: Joel Becker <Joel.Becker@xxxxxxxxxx>
- Date: Fri, 8 Sep 2006 17:15:05 -0700
On Fri, Sep 08, 2006 at 03:54:53PM -0700, Zach Brown wrote:
configfs: use size_t length modifier in pr_debug format argument
Signed-off-by: Joel Becker <joel.becker@xxxxxxxxxx>
Signed-off-by: Zach Brown <zach.brown@xxxxxxxxxx>
---
fs/configfs/file.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: 2.6.18-rc6-debug-args/fs/configfs/file.c
===================================================================
--- 2.6.18-rc6-debug-args.orig/fs/configfs/file.c
+++ 2.6.18-rc6-debug-args/fs/configfs/file.c
@@ -137,8 +137,8 @@ configfs_read_file(struct file *file, ch
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);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
--
The herd instinct among economists makes sheep look like
independant thinkers.
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker@xxxxxxxxxx
Phone: (650) 506-8127
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH 0/10] introduction: check pr_debug() arguments
- From: Zach Brown
- [PATCH 3/10] configfs: use size_t length modifier in pr_debug format argument
- From: Zach Brown
- [PATCH 0/10] introduction: check pr_debug() arguments
- Prev by Date: Re: Linux 2.6.17.12
- Next by Date: Re: [PATCH] Fix longstanding load balancing bug in the scheduler.
- Previous by thread: [PATCH 3/10] configfs: use size_t length modifier in pr_debug format argument
- Next by thread: [PATCH 1/10] futex: remove extra pr_debug format specifications
- Index(es):
Relevant Pages
|
|