]> www.infradead.org Git - users/dwmw2/qemu.git/commit
dump: make range overlap check more readable
authorYao Xingtao <yaoxt.fnst@fujitsu.com>
Mon, 22 Jul 2024 04:07:41 +0000 (00:07 -0400)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 23 Jul 2024 18:30:36 +0000 (20:30 +0200)
commit1aef44805df33f3f6e6302984660f4ea6b31fb3e
treeec28b261a30742960eba7d450b4f614af4b4b929
parent7cd9b9d476e729808f3c9b82a12f51a39673d5cb
dump: 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: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <20240722040742.11513-13-yaoxt.fnst@fujitsu.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
dump/dump.c