[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] xen/arm: grant-table: Correct the prototype of the arch helpers
Hi Bertrand, On 04/07/2023 15:35, Bertrand Marquis wrote: On 29 Jun 2023, at 23:01, Julien Grall <julien@xxxxxxx> wrote: From: Julien Grall <jgrall@xxxxxxxxxx> Both the stub and the x86 prototypes for replace_grant_host_mapping() and create_grant_host_mapping() will define the first parameter (and third for the former) as uint64_t. Yet Arm will define it as 'unsigned long'. While there are no differences for 64-bit, for 32-bit it means that the address should be truncated as 32-bit guest could support up to 40-bit addresses. So replace 'unsigned long' with 'uint64_t' for the first parameter (and third parameter for replace_grant_host_mapping()). Signed-off-by: Julien Grall <jgrall@xxxxxxxxxx>Reviewed-by: Bertrand Marquis <bertrand.marquis@xxxxxxx> Thanks. It is now committed. Cheers, -- Julien Grall
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |