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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux