Re: [PATCH][next] xen/pci: Avoid -Wflex-array-member-not-at-end warning

2024-09-13 Thread Gustavo A. R. Silva
On 13/09/24 10:12, Jürgen Groß wrote: On 13.09.24 10:07, Gustavo A. R. Silva wrote: Hi all, Friendly ping: who can take this, please? 🙂 I can carry it via the Xen tree. Sounds good. :) Thank you! -- Gustavo

Re: [PATCH][next] xen/pci: Avoid -Wflex-array-member-not-at-end warning

2024-09-13 Thread Jürgen Groß
On 13.09.24 10:07, Gustavo A. R. Silva wrote: Hi all, Friendly ping: who can take this, please? 🙂 I can carry it via the Xen tree. Juergen OpenPGP_0xB0DE9DD628BF132F.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature

Re: [PATCH][next] xen/pci: Avoid -Wflex-array-member-not-at-end warning

2024-09-13 Thread Gustavo A. R. Silva
Hi all, Friendly ping: who can take this, please? 🙂 Thanks -- Gustavo On 21/08/24 02:50, Gustavo A. R. Silva wrote: Use the `DEFINE_RAW_FLEX()` helper for an on-stack definition of a flexible structure where the size of the flexible-array member is known at compile-time, and refactor the rest

Re: [PATCH][next] xen/pci: Avoid -Wflex-array-member-not-at-end warning

2024-08-22 Thread Kees Cook
On Tue, Aug 20, 2024 at 06:50:56PM -0600, Gustavo A. R. Silva wrote: > Use the `DEFINE_RAW_FLEX()` helper for an on-stack definition of > a flexible structure where the size of the flexible-array member > is known at compile-time, and refactor the rest of the code, > accordingly. > > So, with this

[PATCH][next] xen/pci: Avoid -Wflex-array-member-not-at-end warning

2024-08-20 Thread Gustavo A. R. Silva
Use the `DEFINE_RAW_FLEX()` helper for an on-stack definition of a flexible structure where the size of the flexible-array member is known at compile-time, and refactor the rest of the code, accordingly. So, with this, fix the following warning: drivers/xen/pci.c:48:55: warning: structure contain