From: Greg Kroah-Hartman <gregkh@suse.de>
To: linux-kernel@vger.kernel.org
Cc: Randy Dunlap <randy.dunlap@oracle.com>,
Greg Kroah-Hartman <gregkh@suse.de>
Subject: [PATCH 4/5] sysfs: printk format warning
Date: Wed, 2 May 2007 19:11:32 -0700 [thread overview]
Message-ID: <11781583171670-git-send-email-gregkh@suse.de> (raw)
In-Reply-To: <11781583073805-git-send-email-gregkh@suse.de>
From: Randy Dunlap <randy.dunlap@oracle.com>
Fix sysfs printk format warning:
fs/sysfs/bin.c:62: warning: format '%d' expects type 'int', but argument 4 has type 'size_t'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
fs/sysfs/bin.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/sysfs/bin.c b/fs/sysfs/bin.c
index 8ea2a51..d3b9f5f 100644
--- a/fs/sysfs/bin.c
+++ b/fs/sysfs/bin.c
@@ -59,7 +59,7 @@ read(struct file * file, char __user * userbuf, size_t count, loff_t * off)
if (copy_to_user(userbuf, buffer, count))
return -EFAULT;
- pr_debug("offs = %lld, *off = %lld, count = %d\n", offs, *off, count);
+ pr_debug("offs = %lld, *off = %lld, count = %zd\n", offs, *off, count);
*off = offs + count;
--
1.5.1.2
next prev parent reply other threads:[~2007-05-03 2:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-03 2:09 [GIT PATCH] More core patches for 2.6.21 Greg KH
2007-05-03 2:11 ` [PATCH 1/5] Driver core: fix show_uevent from taking up way too much stack Greg Kroah-Hartman
2007-05-03 2:11 ` [PATCH 2/5] platform: reorder platform_device_del Greg Kroah-Hartman
2007-05-03 2:11 ` [PATCH 3/5] DOC: Fix wrong identifier name in Documentation/driver-model/devres.txt Greg Kroah-Hartman
2007-05-03 2:11 ` Greg Kroah-Hartman [this message]
2007-05-03 2:11 ` [PATCH 5/5] remove "struct subsystem" as it is no longer needed Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11781583171670-git-send-email-gregkh@suse.de \
--to=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=randy.dunlap@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox