From: Zach Brown Date: Tue, 3 Oct 2006 08:16:10 +0000 (-0700) Subject: [PATCH] pr_debug: trident: use size_t length modifier in pr_debug format arguments X-Git-Tag: v2.6.19-rc1~225 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c8c94b11399b1dc7f08f7b28ec4289a727f0daee;p=linux-2.6-omap-h63xx.git [PATCH] pr_debug: trident: use size_t length modifier in pr_debug format arguments trident: use size_t length modifier in pr_debug format arguments Signed-off-by: Zach Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/sound/oss/trident.c b/sound/oss/trident.c index ce79cd82478..147c816a1f2 100644 --- a/sound/oss/trident.c +++ b/sound/oss/trident.c @@ -1862,7 +1862,7 @@ trident_read(struct file *file, char __user *buffer, size_t count, loff_t * ppos unsigned swptr; int cnt; - pr_debug("trident: trident_read called, count = %d\n", count); + pr_debug("trident: trident_read called, count = %zd\n", count); VALIDATE_STATE(state); @@ -1978,7 +1978,7 @@ trident_write(struct file *file, const char __user *buffer, size_t count, loff_t unsigned int copy_count; int lret; /* for lock_set_fmt */ - pr_debug("trident: trident_write called, count = %d\n", count); + pr_debug("trident: trident_write called, count = %zd\n", count); VALIDATE_STATE(state);