projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3265b54
)
sysfs: printk format warning
author
Randy Dunlap
<randy.dunlap@oracle.com>
Tue, 1 May 2007 00:55:03 +0000
(17:55 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 3 May 2007 01:57:59 +0000
(18:57 -0700)
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
patch
|
blob
|
blame
|
history
diff --git
a/fs/sysfs/bin.c
b/fs/sysfs/bin.c
index 8ea2a51ce883aa8ed73cf6bb8df7d7ed36cc9232..d3b9f5f07db149a38ecb03d0a44370d365ffb5d5 100644
(file)
--- 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 = %
z
d\n", offs, *off, count);
*off = offs + count;