ext4: fix printk format warning in inode.c
PATCH 1/1 ext4: fix printk format warning in inode.c
fs/ext4/inode.c:385: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'long int'
Signed-off-by Alexander Beregalov <[email protected]>
---
fs/ext4/inode.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
fs/ext4/inode.c +1 -1
@@ -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++;
Theodore Tso
maintainerQuoted 3 lines · Alexander Beregalov
fs/ext4/inode.c:385: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'long int'Signed-off-by Alexander Beregalov <[email protected]>
Thanks, Thiemo has already sent a patch to fix this (as well as another buglet).
- Ted