>>> On 06.08.16 at 01:04, <daniel.ki...@oracle.com> wrote:
> --- a/xen/arch/x86/boot/reloc.c
> +++ b/xen/arch/x86/boot/reloc.c
> @@ -32,60 +32,69 @@ typedef unsigned int u32;
>  
>  static u32 alloc;
>  
> -static void *reloc_mbi_struct(void *old, unsigned int bytes)
> +static u32 alloc_mem(u32 bytes)

Conversion of alloc to be of pointer type (in the earlier patch), and
then making the return type here and ...

> +static u32 copy_mem(u32 src, u32 bytes)

... all of the types here follow suit would apparently be quite
beneficial to the number of casts needed.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to