提交 f3f71936 编写于 作者: J Joseph Qi

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: Nkbuild test robot <lkp@intel.com>
Fixes: 5494d4e7 ("alinux: iocost: add ioc_gq stat")
Signed-off-by: NJoseph Qi <joseph.qi@linux.alibaba.com>
Reviewed-by: NJeffle Xu <jefflexu@linux.alibaba.com>
Acked-by: NCaspar Zhang <caspar@linux.alibaba.com>
上级 ca19350c
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册