* [PATCH next] ext4: fix printk format warning in inode.c
@ 2009-03-31 11:54 Alexander Beregalov
2009-03-31 12:37 ` Theodore Tso
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Beregalov @ 2009-03-31 11:54 UTC (permalink / raw)
To: tytso, linux-ext4, linux-kernel
fs/ext4/inode.c:385: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'long int'
Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---
fs/ext4/inode.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 1d37d14..2fda129 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -382,7 +382,7 @@ static int __ext4_check_blockref(const char *function, struct inode *inode,
"block reference %u >= max (%u) "
"in inode #%lu, offset=%u",
*bref, maxblocks,
- inode->i_ino, bref-p);
+ inode->i_ino, (unsigned)(bref-p));
return -EIO;
}
bref++;
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-31 12:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-31 11:54 [PATCH next] ext4: fix printk format warning in inode.c Alexander Beregalov
2009-03-31 12:37 ` Theodore Tso
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).