Make variable bi_size unsigned int since bio_add_page() now returns unsigned int. Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@xxxxxxx> --- block/blk-lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-lib.c b/block/blk-lib.c index 7b256131b20b..67062066c293 100644 --- a/block/blk-lib.c +++ b/block/blk-lib.c @@ -305,7 +305,7 @@ static int __blkdev_issue_zero_pages(struct block_device *bdev, { struct request_queue *q = bdev_get_queue(bdev); struct bio *bio = *biop; - int bi_size = 0; + unsigned int bi_size = 0; unsigned int sz; if (!q) -- 2.24.0