[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2] xen: add macro for defining variable length array in public headers



On 03.09.2019 07:15, Juergen Gross wrote:
> Several public headers of the hypervisor contain structures with
> variable length arrays. In order to be usable with different compilers
> those definitions are depending on the compiler type and the standard
> supported by the compiler.
> 
> In order to avoid open coding the different variants in each header
> add a common macro for that purpose in xen.h.
> 
> This at once corrects most of the definitions which miss one case
> leading to not defining the array at all.
> 
> Signed-off-by: Juergen Gross <jgross@xxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.