On Mon, Aug 19, 2024 at 07:27:11PM -0600, Gustavo A. R. Silva wrote: > -Wflex-array-member-not-at-end was introduced in GCC-14, and we are > getting ready to enable it, globally. > > Remove unnecessary flex-array member `data[]`, and with this fix > the following warnings: > > drivers/nfc/pn533/usb.c:268:38: warning: structure containing a flexible > array member is not at the end of another structure > [-Wflex-array-member-not-at-end] > drivers/nfc/pn533/usb.c:275:38: warning: structure containing a flexible > array member is not at the end of another structure > [-Wflex-array-member-not-at-end] > > Signed-off-by: Gustavo A. R. Silva <gustavo...@kernel.org>
Reviewed-by: Simon Horman <ho...@kernel.org>