[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<176429642802.114872.7453197941812148270.git-patchwork-notify@kernel.org>
Date: Fri, 28 Nov 2025 02:20:28 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Gustavo A. R. Silva <gustavoars@...nel.org>
Cc: loic.poulain@....qualcomm.com, ryazanov.s.a@...il.com,
johannes@...solutions.net, andrew+netdev@...n.ch, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-hardening@...r.kernel.org
Subject: Re: [PATCH v3][next] net: wwan: mhi_wwan_mbim: Avoid
-Wflex-array-member-not-at-end warning
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 27 Nov 2025 12:12:03 +0900 you wrote:
> Use DEFINE_RAW_FLEX() to avoid a -Wflex-array-member-not-at-end warning.
>
> Remove fixed-size array struct usb_cdc_ncm_dpe16 dpe16[2]; from struct
> mbim_tx_hdr, so that flex-array member struct mbim_tx_hdr::ndp16.dpe16[]
> ends last in this structure.
>
> Compensate for this by using the DEFINE_RAW_FLEX() helper to declare the
> on-stack struct instance that contains struct usb_cdc_ncm_ndp16 as a
> member. Adjust the rest of the code, accordingly.
>
> [...]
Here is the summary with links:
- [v3,next] net: wwan: mhi_wwan_mbim: Avoid -Wflex-array-member-not-at-end warning
https://git.kernel.org/netdev/net-next/c/eeecf5d3a3a4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists