Re: [PATCH] xen/public: fix flexible array definitions

2023-11-30 Thread Juergen Gross
On 30.11.23 09:24, Jan Beulich wrote: On 29.11.2023 12:58, Juergen Gross wrote: On 09.08.23 11:42, Juergen Gross wrote: On 26.07.23 07:52, Jan Beulich wrote: On 25.07.2023 18:59, Andrew Cooper wrote: On 25/07/2023 5:16 pm, Jan Beulich wrote: On 25.07.2023 15:55, Juergen Gross wrote: Flexibl

Re: [PATCH] xen/public: fix flexible array definitions

2023-11-30 Thread Jan Beulich
On 29.11.2023 12:58, Juergen Gross wrote: > On 09.08.23 11:42, Juergen Gross wrote: >> On 26.07.23 07:52, Jan Beulich wrote: >>> On 25.07.2023 18:59, Andrew Cooper wrote: On 25/07/2023 5:16 pm, Jan Beulich wrote: > On 25.07.2023 15:55, Juergen Gross wrote: >> Flexible arrays in public

Re: [PATCH] xen/public: fix flexible array definitions

2023-11-29 Thread Andrew Cooper
On 25/07/2023 2:55 pm, Juergen Gross wrote: > Flexible arrays in public headers can be problematic with some > compilers. > > Replace them with arr[XEN_FLEX_ARRAY_DIM] in order to avoid compilation > errors. > > This includes arrays defined as "arr[1]", as seen with a recent Linux > kernel [1]. > >

Re: [PATCH] xen/public: fix flexible array definitions

2023-11-29 Thread Juergen Gross
On 09.08.23 11:42, Juergen Gross wrote: On 26.07.23 07:52, Jan Beulich wrote: On 25.07.2023 18:59, Andrew Cooper wrote: On 25/07/2023 5:16 pm, Jan Beulich wrote: On 25.07.2023 15:55, Juergen Gross wrote: Flexible arrays in public headers can be problematic with some compilers. Replace them w

Re: [PATCH] xen/public: fix flexible array definitions

2023-08-09 Thread Juergen Gross
On 26.07.23 07:52, Jan Beulich wrote: On 25.07.2023 18:59, Andrew Cooper wrote: On 25/07/2023 5:16 pm, Jan Beulich wrote: On 25.07.2023 15:55, Juergen Gross wrote: Flexible arrays in public headers can be problematic with some compilers. Replace them with arr[XEN_FLEX_ARRAY_DIM] in order to a

Re: [PATCH] xen/public: fix flexible array definitions

2023-07-25 Thread Jan Beulich
On 25.07.2023 18:59, Andrew Cooper wrote: > On 25/07/2023 5:16 pm, Jan Beulich wrote: >> On 25.07.2023 15:55, Juergen Gross wrote: >>> Flexible arrays in public headers can be problematic with some >>> compilers. >>> >>> Replace them with arr[XEN_FLEX_ARRAY_DIM] in order to avoid compilation >>> er

Re: [PATCH] xen/public: fix flexible array definitions

2023-07-25 Thread Andrew Cooper
On 25/07/2023 5:16 pm, Jan Beulich wrote: > On 25.07.2023 15:55, Juergen Gross wrote: >> Flexible arrays in public headers can be problematic with some >> compilers. >> >> Replace them with arr[XEN_FLEX_ARRAY_DIM] in order to avoid compilation >> errors. >> >> This includes arrays defined as "arr[1

Re: [PATCH] xen/public: fix flexible array definitions

2023-07-25 Thread Jan Beulich
On 25.07.2023 15:55, Juergen Gross wrote: > Flexible arrays in public headers can be problematic with some > compilers. > > Replace them with arr[XEN_FLEX_ARRAY_DIM] in order to avoid compilation > errors. > > This includes arrays defined as "arr[1]", as seen with a recent Linux > kernel [1]. >

Re: [PATCH] xen/public: fix flexible array definitions

2023-07-25 Thread Andrew Cooper
On 25/07/2023 2:55 pm, Juergen Gross wrote: > Flexible arrays in public headers can be problematic with some > compilers. > > Replace them with arr[XEN_FLEX_ARRAY_DIM] in order to avoid compilation > errors. > > This includes arrays defined as "arr[1]", as seen with a recent Linux > kernel [1]. > >

[PATCH] xen/public: fix flexible array definitions

2023-07-25 Thread Juergen Gross
Flexible arrays in public headers can be problematic with some compilers. Replace them with arr[XEN_FLEX_ARRAY_DIM] in order to avoid compilation errors. This includes arrays defined as "arr[1]", as seen with a recent Linux kernel [1]. [1]: https://bugzilla.kernel.org/show_bug.cgi?id=217693 Sig