From 43f57d41edc70c6abdd48065c946e8a25152d8f1 Mon Sep 17 00:00:00 2001 From: Joseph Qi Date: Fri, 3 Jan 2020 09:49:36 +0800 Subject: [PATCH 0383/2944] alinux: iocost: fix format mismatch build warning This fixes the following format build warning: block/blk-iocost.c: In function 'ioc_stat_prfill': block/blk-iocost.c:2506:17: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'long int' [-Wformat=] Reported-by: kbuild test robot Fixes: 0670363cae78 ("alinux: iocost: add ioc_gq stat") Signed-off-by: Joseph Qi Reviewed-by: Jeffle Xu Acked-by: Caspar Zhang --- block/blk-iocost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-iocost.c b/block/blk-iocost.c index 3d2d299..0d5c740 100644 --- a/block/blk-iocost.c +++ b/block/blk-iocost.c @@ -2508,7 +2508,7 @@ static u64 ioc_stat_prfill(struct seq_file *sf, struct blkg_policy_data *pd, dname, !list_empty(&iocg->active_list), iocg->active, iocg->inuse, iocg->hweight_active, iocg->hweight_inuse, - atomic64_read(&ioc->vtime_rate)); + (unsigned long long)atomic64_read(&ioc->vtime_rate)); return 0; } -- 1.8.3.1