summaryrefslogtreecommitdiffstats
path: root/tools/virtio
diff options
context:
space:
mode:
authorAngus Chen <angus.chen@jaguarmicro.com>2022-11-10 04:01:23 +0100
committerMichael S. Tsirkin <mst@redhat.com>2022-12-28 11:28:10 +0100
commitf4e468f708386ce5fa6878a7ef43a9818ceeaecf (patch)
treefd3aacda617f4fa446f37295f08b4c657b02fe5a /tools/virtio
parentvhost-vdpa: fix an iotlb memory leak (diff)
downloadlinux-f4e468f708386ce5fa6878a7ef43a9818ceeaecf.tar.xz
linux-f4e468f708386ce5fa6878a7ef43a9818ceeaecf.zip
virtio_blk: use UINT_MAX instead of -1U
We use UINT_MAX to limit max_discard_sectors in virtblk_probe, we can use UINT_MAX to limit max_hw_sectors for consistencies. No functional change intended. Signed-off-by: Angus Chen <angus.chen@jaguarmicro.com> Message-Id: <20221110030124.1986-1-angus.chen@jaguarmicro.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tools/virtio')
0 files changed, 0 insertions, 0 deletions