summary refs log tree commit diff stats
path: root/hw/virtio/virtio-net-pci.c
diff options
context:
space:
mode:
authorYao Xingtao <yaoxt.fnst@fujitsu.com>2024-07-22 00:07:40 -0400
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-07-23 20:30:36 +0200
commit7cd9b9d476e729808f3c9b82a12f51a39673d5cb (patch)
tree2d20dc5a4799cbbf897cae9d49c7643142454cc1 /hw/virtio/virtio-net-pci.c
parent13c59a0e9efad5154ff4aba46d5d645c99af8fcf (diff)
downloadfocaccia-qemu-7cd9b9d476e729808f3c9b82a12f51a39673d5cb.tar.gz
focaccia-qemu-7cd9b9d476e729808f3c9b82a12f51a39673d5cb.zip
crypto/block-luks: make range overlap check more readable
use ranges_overlap() instead of open-coding the overlap check to improve
the readability of the code.

Signed-off-by: Yao Xingtao <yaoxt.fnst@fujitsu.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20240722040742.11513-12-yaoxt.fnst@fujitsu.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/virtio/virtio-net-pci.c')
0 files changed, 0 insertions, 0 deletions