From: Andrew Morton fs/sysfs/bin.c: In function 'read': fs/sysfs/bin.c:58: warning: format '%zd' expects type 'signed size_t', but argument 4 has type 'int' How many times have we fixed this?? Cc: Tejun Heo Cc: Greg Kroah-Hartman Signed-off-by: Andrew Morton --- fs/sysfs/bin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/sysfs/bin.c~fix-gregkh-driver-sysfs-fix-error-handling-in-binattr-write fs/sysfs/bin.c --- a/fs/sysfs/bin.c~fix-gregkh-driver-sysfs-fix-error-handling-in-binattr-write +++ a/fs/sysfs/bin.c @@ -74,7 +74,7 @@ read(struct file *file, char __user *use goto out_unlock; } - pr_debug("offs = %lld, *off = %lld, count = %zd\n", offs, *off, count); + pr_debug("offs = %lld, *off = %lld, count = %d\n", offs, *off, count); *off = offs + count; _