Re: [PATCH 01/13] blk: make blk-rq-qos support pluggable and modular policy

From: Wang Jianchao
Date: Wed Jan 12 2022 - 22:52:45 EST




On 2022/1/13 9:49 上午, kernel test robot wrote:
> ll warnings (new ones prefixed by >>):
>
> block/blk-iocost.c:1244:6: warning: variable 'last_period' set but not used [-Wunused-but-set-variable]
> u64 last_period, cur_period;
> ^
>>> block/blk-iocost.c:3348:7: warning: variable 'ioc' is uninitialized when used here [-Wuninitialized]
> if (!ioc) {

Thanks so much
I will fix this in next patch version.

Jianchao