On 22/10/2025 10:51 am, Teddy Astie wrote:
> diff --git a/xen/drivers/passthrough/vtd/intremap.c
> b/xen/drivers/passthrough/vtd/intremap.c
> index e0314aa469..3cdb892559 100644
> --- a/xen/drivers/passthrough/vtd/intremap.c
> +++ b/xen/drivers/passthrough/vtd/intremap.c
> @@ -399,7 +399,7 @@ unsigned int cf_check io_apic_read_remap_rte(
> unsigned int ioapic_pin = (reg - 0x10) / 2;
> int index;
> struct IO_APIC_route_entry old_rte = { };
> - int rte_upper = (reg & 1) ? 1 : 0;
> + unsigned int rte_upper = reg & 1;
bool?
But overall, a very nice cleanup.
~Andrew