Whamcloud - gitweb
LU-14317 ldiskfs: ‘%llu’ mismatch with type ‘long int’ on arm64 91/41191/2
authorJian Yu <yujian@whamcloud.com>
Mon, 11 Jan 2021 03:46:42 +0000 (19:46 -0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 18 Jan 2021 07:32:19 +0000 (07:32 +0000)
commitd8e1ad2cf36634ad8a0676b31a23d8b459247761
treed514a2a50beba389f4c2191708a46575a854ae67
parentc246a9ba041d651c4fae324284f7bbd97500998b
LU-14317 ldiskfs: ‘%llu’ mismatch with type ‘long int’ on arm64

This patch fixes build issues like this one on arm64:

lustre-release/ldiskfs/mballoc.c: In function ‘ldiskfs_mb_release’:
lustre-release/ldiskfs/mballoc.c:3180:4: warning:
format ‘%llu’ expects argument of type ‘long long unsigned int’,
but argument 4 has type ‘long int’ [-Wformat=]
    "mballoc: (%llu, %llu, %llu) useless c(0,1,2) loops",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Change-Id: I07018302fae8da3b71c0cc649753bdcccdc0d34f
Test-Parameters: trivial
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/41191
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
ldiskfs/kernel_patches/patches/rhel8/ext4-simple-blockalloc.patch