Re: [PATCH][next] nfc: pn533: Avoid -Wflex-array-member-not-at-end warnings
From: patchwork-bot+netdevbpf
Date: Wed Aug 21 2024 - 20:30:56 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 19 Aug 2024 19:27:11 -0600 you 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]
>
> [...]
Here is the summary with links:
- [next] nfc: pn533: Avoid -Wflex-array-member-not-at-end warnings
https://git.kernel.org/netdev/net-next/c/488d34643ec3
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html