Re: [PATCH][next] Bluetooth: L2CAP: Avoid -Wflex-array-member-not-at-end warnings

2024-03-26 Thread Gustavo A. R. Silva
On 3/26/24 15:12, Luiz Augusto von Dentz wrote: Hi Gustavo, On Tue, Mar 26, 2024 at 4:02 PM Gustavo A. R. Silva wrote: -Wflex-array-member-not-at-end is coming in GCC-14, and we are getting ready to enable it globally. There are currently a couple of objects (`req` and `rsp`), in a couple

Re: [PATCH][next] Bluetooth: L2CAP: Avoid -Wflex-array-member-not-at-end warnings

2024-03-26 Thread Luiz Augusto von Dentz
Hi Gustavo, On Tue, Mar 26, 2024 at 4:02 PM Gustavo A. R. Silva wrote: > > -Wflex-array-member-not-at-end is coming in GCC-14, and we are getting > ready to enable it globally. > > There are currently a couple of objects (`req` and `rsp`), in a couple > of structures, that contain flexible struct

[PATCH][next] Bluetooth: L2CAP: Avoid -Wflex-array-member-not-at-end warnings

2024-03-26 Thread Gustavo A. R. Silva
-Wflex-array-member-not-at-end is coming in GCC-14, and we are getting ready to enable it globally. There are currently a couple of objects (`req` and `rsp`), in a couple of structures, that contain flexible structures (`struct l2cap_ecred_conn_req` and `struct l2cap_ecred_conn_rsp`), for example: