[PATCH next] ext4: fix printk format warning in inode.c

From: Alexander Beregalov
Date: Tue Mar 31 2009 - 07:55:21 EST


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@xxxxxxxxx>
---

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++;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/