* [PATCH -next] ext4: fix printk format warning in page-io
[not found] <20111101205323.c12f2f940f23febba8ab8989@canb.auug.org.au>
@ 2011-11-01 23:32 ` Randy Dunlap
2011-11-02 1:59 ` Ted Ts'o
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2011-11-01 23:32 UTC (permalink / raw)
To: Stephen Rothwell
Cc: linux-next, LKML, Linus, Theodore Ts'o, Andreas Dilger,
linux-ext4, Andrew Morton
From: Randy Dunlap <rdunlap@xenotime.net>
Fix printk format warning:
fs/ext4/page-io.c:108:5: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: Andreas Dilger <adilger.kernel@dilger.ca>
Cc: linux-ext4@vger.kernel.org
---
fs/ext4/page-io.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- next-2011-1101.orig/fs/ext4/page-io.c
+++ next-2011-1101/fs/ext4/page-io.c
@@ -104,7 +104,7 @@ int ext4_end_io_nolock(ext4_io_end_t *io
ext4_msg(inode->i_sb, KERN_EMERG,
"failed to convert unwritten extents to written "
"extents -- potential data loss! "
- "(inode %lu, offset %llu, size %d, error %d)",
+ "(inode %lu, offset %llu, size %zd, error %d)",
inode->i_ino, offset, size, ret);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH -next] ext4: fix printk format warning in page-io
2011-11-01 23:32 ` [PATCH -next] ext4: fix printk format warning in page-io Randy Dunlap
@ 2011-11-02 1:59 ` Ted Ts'o
0 siblings, 0 replies; 2+ messages in thread
From: Ted Ts'o @ 2011-11-02 1:59 UTC (permalink / raw)
To: Randy Dunlap
Cc: Stephen Rothwell, linux-next, LKML, Linus, Andreas Dilger,
linux-ext4, Andrew Morton
On Tue, Nov 01, 2011 at 04:32:25PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@xenotime.net>
>
> Fix printk format warning:
>
> fs/ext4/page-io.c:108:5: warning: format '%d' expects type 'int', but argument 6 has type 'ssize_t'
>
> Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
> Cc: "Theodore Ts'o" <tytso@mit.edu>
> Cc: Andreas Dilger <adilger.kernel@dilger.ca>
> Cc: linux-ext4@vger.kernel.org
Thanks, I'll get this fixed before I send my pull request.
- Ted
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-02 1:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20111101205323.c12f2f940f23febba8ab8989@canb.auug.org.au>
2011-11-01 23:32 ` [PATCH -next] ext4: fix printk format warning in page-io Randy Dunlap
2011-11-02 1:59 ` Ted Ts'o
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).