|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v6 7/9] xen/arm: create shared memory nodes in guest device tree
Hi Penny, On 21/07/2022 14:21, Penny Zheng wrote: This doesn't build for me: arch/arm/domain_build.c: In function ‘make_shm_memory_node’:arch/arm/domain_build.c:1380:9: error: ISO C90 forbids variable length array ‘reg’ [-Werror=vla]
__be32 reg[addrcells + sizecells];
^~~~~~
I haven't yet review the patch. But I think we would want to dynamically
allocate 'reg' like we do in other places unless it is possible to know
the maximum size of the array.
Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |