[RFC PATCH 8/8] block: fix variable type for zero pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux