Re: [PATCH 02/13] arm/boot: make range overlap check more readable

2024-07-21 Thread Philippe Mathieu-Daudé
On 22/7/24 06:07, Yao Xingtao via wrote: use ranges_overlap() instead of open-coding the overlap check to improve the readability of the code. Signed-off-by: Yao Xingtao --- hw/arm/boot.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hw/arm/boot.c b/hw/arm/boot.c i

[PATCH 02/13] arm/boot: make range overlap check more readable

2024-07-21 Thread Yao Xingtao via
use ranges_overlap() instead of open-coding the overlap check to improve the readability of the code. Signed-off-by: Yao Xingtao --- hw/arm/boot.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hw/arm/boot.c b/hw/arm/boot.c index d480a7da02cf..a004a90e87be 100644 --- a/