Re: [PATCH] x86/PVH: Use unsigned int for dom0 e820 index

2024-04-19 Thread Jan Beulich
On 18.04.2024 18:07, Jason Andryuk wrote: > Switch to unsigned int for the dom0 e820 index. This eliminates the > potential for array underflows, and the compiler might be able to > generate better code. > > Requested-by: Jan Beulich > Signed-off-by: Jason Andryuk Acked-by: Jan Beulich

[PATCH] x86/PVH: Use unsigned int for dom0 e820 index

2024-04-18 Thread Jason Andryuk
Switch to unsigned int for the dom0 e820 index. This eliminates the potential for array underflows, and the compiler might be able to generate better code. Requested-by: Jan Beulich Signed-off-by: Jason Andryuk --- xen/arch/x86/hvm/dom0_build.c | 4 ++-- 1 file changed, 2 insertions(+), 2