]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: clean up "%Ld/%Lu" which doesn't meet C standard
authorZeng Heng <zengheng4@huawei.com>
Sun, 18 Sep 2022 20:47:14 +0000 (06:47 +1000)
committerDave Chinner <david@fromorbit.com>
Sun, 18 Sep 2022 20:47:14 +0000 (06:47 +1000)
commit36c4bc3f12c6d16d8e81b66f7aacb418bb933a10
tree194c34f45f47112fcdf2dcdf7d57ad3ff9e4ccc4
parent9cf2effa5d39441488a44bc4a873e843d65846f8
xfs: clean up "%Ld/%Lu" which doesn't meet C standard

The "%Ld" specifier, which represents long long unsigned,
doesn't meet C language standard, and even more,
it makes people easily mistake with "%ld", which represent
long unsigned. So replace "%Ld" with "lld".

Do the same with "%Lu".

Signed-off-by: Zeng Heng <zengheng4@huawei.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_inode_fork.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode_item_recover.c
fs/xfs/xfs_stats.c