Make variable ret unsigned int since bio_add_zone_append_page() now returns unsigned int. Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@xxxxxxx> --- fs/btrfs/extent_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index 074a78a202b8..6ef276a95237 100644 --- a/fs/btrfs/extent_io.c +++ b/fs/btrfs/extent_io.c @@ -3158,8 +3158,8 @@ static bool btrfs_bio_add_page(struct bio *bio, struct page *page, unsigned long bio_flags) { const sector_t sector = disk_bytenr >> SECTOR_SHIFT; + unsigned int ret; bool contig; - int ret; if (prev_bio_flags != bio_flags) return false; -- 2.24.0