diff options
-rw-r--r-- | drivers/block/virtio_blk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index 7b9b38a12d25..300078b02e5d 100644 --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c | |||
@@ -304,7 +304,7 @@ static int virtblk_probe(struct virtio_device *vdev) | |||
304 | if (!err) | 304 | if (!err) |
305 | blk_queue_max_segment_size(vblk->disk->queue, v); | 305 | blk_queue_max_segment_size(vblk->disk->queue, v); |
306 | else | 306 | else |
307 | blk_queue_max_segment_size(vblk->disk->queue, -1UL); | 307 | blk_queue_max_segment_size(vblk->disk->queue, -1U); |
308 | 308 | ||
309 | /* Host can optionally specify the block size of the device */ | 309 | /* Host can optionally specify the block size of the device */ |
310 | err = virtio_config_val(vdev, VIRTIO_BLK_F_BLK_SIZE, | 310 | err = virtio_config_val(vdev, VIRTIO_BLK_F_BLK_SIZE, |