* [net] Revert "net: wwan: mhi_wwan_mbim: Avoid -Wflex-array-member-not-at-end warning"
@ 2026-01-20 7:20 Slark Xiao
2026-01-20 7:51 ` Gustavo A. R. Silva
2026-01-22 3:10 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 8+ messages in thread
From: Slark Xiao @ 2026-01-20 7:20 UTC (permalink / raw)
To: loic.poulain, ryazanov.s.a, johannes, andrew+netdev, davem,
edumazet, kuba, pabeni, gustavoars
Cc: netdev, linux-kernel, Slark Xiao
This reverts commit eeecf5d3a3a484cedfa3f2f87e6d51a7390ed960.
This change lead to MHI WWAN device can't connect to internet.
I found a netwrok issue with kernel 6.19-rc4, but network works
well with kernel 6.18-rc1. After checking, this commit is the
root cause.
Before appliing this serial changes on MHI WWAN network, we shall
revert this change in case of v6.19 being impacted.
Fixes: eeecf5d3a3a4 ("net: wwan: mhi_wwan_mbim: Avoid -Wflex-array-member-not-at-end warning")
Signed-off-by: Slark Xiao <slark_xiao@163.com>
---
drivers/net/wwan/mhi_wwan_mbim.c | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/drivers/net/wwan/mhi_wwan_mbim.c b/drivers/net/wwan/mhi_wwan_mbim.c
index cf6d3e2a007b..1d7e3ad900c1 100644
--- a/drivers/net/wwan/mhi_wwan_mbim.c
+++ b/drivers/net/wwan/mhi_wwan_mbim.c
@@ -78,9 +78,8 @@ struct mhi_mbim_context {
struct mbim_tx_hdr {
struct usb_cdc_ncm_nth16 nth16;
-
- /* Must be last as it ends in a flexible-array member. */
struct usb_cdc_ncm_ndp16 ndp16;
+ struct usb_cdc_ncm_dpe16 dpe16[2];
} __packed;
static struct mhi_mbim_link *mhi_mbim_get_link_rcu(struct mhi_mbim_context *mbim,
@@ -109,20 +108,20 @@ static int mhi_mbim_get_link_mux_id(struct mhi_controller *cntrl)
static struct sk_buff *mbim_tx_fixup(struct sk_buff *skb, unsigned int session,
u16 tx_seq)
{
- DEFINE_RAW_FLEX(struct mbim_tx_hdr, mbim_hdr, ndp16.dpe16, 2);
unsigned int dgram_size = skb->len;
struct usb_cdc_ncm_nth16 *nth16;
struct usb_cdc_ncm_ndp16 *ndp16;
+ struct mbim_tx_hdr *mbim_hdr;
/* Only one NDP is sent, containing the IP packet (no aggregation) */
/* Ensure we have enough headroom for crafting MBIM header */
- if (skb_cow_head(skb, __struct_size(mbim_hdr))) {
+ if (skb_cow_head(skb, sizeof(struct mbim_tx_hdr))) {
dev_kfree_skb_any(skb);
return NULL;
}
- mbim_hdr = skb_push(skb, __struct_size(mbim_hdr));
+ mbim_hdr = skb_push(skb, sizeof(struct mbim_tx_hdr));
/* Fill NTB header */
nth16 = &mbim_hdr->nth16;
@@ -135,11 +134,12 @@ static struct sk_buff *mbim_tx_fixup(struct sk_buff *skb, unsigned int session,
/* Fill the unique NDP */
ndp16 = &mbim_hdr->ndp16;
ndp16->dwSignature = cpu_to_le32(USB_CDC_MBIM_NDP16_IPS_SIGN | (session << 24));
- ndp16->wLength = cpu_to_le16(struct_size(ndp16, dpe16, 2));
+ ndp16->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp16)
+ + sizeof(struct usb_cdc_ncm_dpe16) * 2);
ndp16->wNextNdpIndex = 0;
/* Datagram follows the mbim header */
- ndp16->dpe16[0].wDatagramIndex = cpu_to_le16(__struct_size(mbim_hdr));
+ ndp16->dpe16[0].wDatagramIndex = cpu_to_le16(sizeof(struct mbim_tx_hdr));
ndp16->dpe16[0].wDatagramLength = cpu_to_le16(dgram_size);
/* null termination */
@@ -585,8 +585,7 @@ static void mhi_mbim_setup(struct net_device *ndev)
{
ndev->header_ops = NULL; /* No header */
ndev->type = ARPHRD_RAWIP;
- ndev->needed_headroom =
- struct_size_t(struct mbim_tx_hdr, ndp16.dpe16, 2);
+ ndev->needed_headroom = sizeof(struct mbim_tx_hdr);
ndev->hard_header_len = 0;
ndev->addr_len = 0;
ndev->flags = IFF_POINTOPOINT | IFF_NOARP;
--
2.25.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [net] Revert "net: wwan: mhi_wwan_mbim: Avoid -Wflex-array-member-not-at-end warning"
2026-01-20 7:20 [net] Revert "net: wwan: mhi_wwan_mbim: Avoid -Wflex-array-member-not-at-end warning" Slark Xiao
@ 2026-01-20 7:51 ` Gustavo A. R. Silva
2026-01-20 9:16 ` Slark Xiao
2026-01-22 3:10 ` patchwork-bot+netdevbpf
1 sibling, 1 reply; 8+ messages in thread
From: Gustavo A. R. Silva @ 2026-01-20 7:51 UTC (permalink / raw)
To: Slark Xiao, loic.poulain, ryazanov.s.a, johannes, andrew+netdev,
davem, edumazet, kuba, pabeni, gustavoars
Cc: netdev, linux-kernel
Hi Slark,
On 1/20/26 16:20, Slark Xiao wrote:
> This reverts commit eeecf5d3a3a484cedfa3f2f87e6d51a7390ed960.
>
> This change lead to MHI WWAN device can't connect to internet.
> I found a netwrok issue with kernel 6.19-rc4, but network works
> well with kernel 6.18-rc1. After checking, this commit is the
> root cause.
Thanks for the report.
Could you please apply the following patch on top of this revert,
and let us know if the problem still manifests? Thank you!
diff --git a/drivers/net/wwan/mhi_wwan_mbim.c b/drivers/net/wwan/mhi_wwan_mbim.c
index 1d7e3ad900c1..a271a72fed63 100644
--- a/drivers/net/wwan/mhi_wwan_mbim.c
+++ b/drivers/net/wwan/mhi_wwan_mbim.c
@@ -78,9 +78,12 @@ struct mhi_mbim_context {
struct mbim_tx_hdr {
struct usb_cdc_ncm_nth16 nth16;
- struct usb_cdc_ncm_ndp16 ndp16;
- struct usb_cdc_ncm_dpe16 dpe16[2];
+ __TRAILING_OVERLAP(struct usb_cdc_ncm_ndp16, ndp16, dpe16, __packed,
+ struct usb_cdc_ncm_dpe16 dpe16[2];
+ );
} __packed;
+static_assert(offsetof(struct mbim_tx_hdr, ndp16.dpe16) ==
+ offsetof(struct mbim_tx_hdr, dpe16));
static struct mhi_mbim_link *mhi_mbim_get_link_rcu(struct mhi_mbim_context *mbim,
unsigned int session)
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re:Re: [net] Revert "net: wwan: mhi_wwan_mbim: Avoid -Wflex-array-member-not-at-end warning"
2026-01-20 7:51 ` Gustavo A. R. Silva
@ 2026-01-20 9:16 ` Slark Xiao
2026-01-20 9:28 ` Gustavo A. R. Silva
0 siblings, 1 reply; 8+ messages in thread
From: Slark Xiao @ 2026-01-20 9:16 UTC (permalink / raw)
To: Gustavo A. R. Silva
Cc: loic.poulain, ryazanov.s.a, johannes, andrew+netdev, davem,
edumazet, kuba, pabeni, gustavoars, netdev, linux-kernel
At 2026-01-20 15:51:57, "Gustavo A. R. Silva" <gustavo@embeddedor.com> wrote:
>Hi Slark,
>
>On 1/20/26 16:20, Slark Xiao wrote:
>> This reverts commit eeecf5d3a3a484cedfa3f2f87e6d51a7390ed960.
>>
>> This change lead to MHI WWAN device can't connect to internet.
>> I found a netwrok issue with kernel 6.19-rc4, but network works
>> well with kernel 6.18-rc1. After checking, this commit is the
>> root cause.
>
>Thanks for the report.
>
>Could you please apply the following patch on top of this revert,
>and let us know if the problem still manifests? Thank you!
>
>diff --git a/drivers/net/wwan/mhi_wwan_mbim.c b/drivers/net/wwan/mhi_wwan_mbim.c
>index 1d7e3ad900c1..a271a72fed63 100644
>--- a/drivers/net/wwan/mhi_wwan_mbim.c
>+++ b/drivers/net/wwan/mhi_wwan_mbim.c
>@@ -78,9 +78,12 @@ struct mhi_mbim_context {
>
> struct mbim_tx_hdr {
> struct usb_cdc_ncm_nth16 nth16;
>- struct usb_cdc_ncm_ndp16 ndp16;
>- struct usb_cdc_ncm_dpe16 dpe16[2];
>+ __TRAILING_OVERLAP(struct usb_cdc_ncm_ndp16, ndp16, dpe16, __packed,
>+ struct usb_cdc_ncm_dpe16 dpe16[2];
>+ );
> } __packed;
>+static_assert(offsetof(struct mbim_tx_hdr, ndp16.dpe16) ==
>+ offsetof(struct mbim_tx_hdr, dpe16));
>
> static struct mhi_mbim_link *mhi_mbim_get_link_rcu(struct mhi_mbim_context *mbim,
> unsigned int session)
This patch won't introduce previous problem.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [net] Revert "net: wwan: mhi_wwan_mbim: Avoid -Wflex-array-member-not-at-end warning"
2026-01-20 9:16 ` Slark Xiao
@ 2026-01-20 9:28 ` Gustavo A. R. Silva
2026-01-22 1:30 ` Slark Xiao
0 siblings, 1 reply; 8+ messages in thread
From: Gustavo A. R. Silva @ 2026-01-20 9:28 UTC (permalink / raw)
To: Slark Xiao
Cc: loic.poulain, ryazanov.s.a, johannes, andrew+netdev, davem,
edumazet, kuba, pabeni, gustavoars, netdev, linux-kernel,
linux-hardening
On 1/20/26 18:16, Slark Xiao wrote:
>
>
> At 2026-01-20 15:51:57, "Gustavo A. R. Silva" <gustavo@embeddedor.com> wrote:
>> Hi Slark,
>>
>> On 1/20/26 16:20, Slark Xiao wrote:
>>> This reverts commit eeecf5d3a3a484cedfa3f2f87e6d51a7390ed960.
>>>
>>> This change lead to MHI WWAN device can't connect to internet.
>>> I found a netwrok issue with kernel 6.19-rc4, but network works
>>> well with kernel 6.18-rc1. After checking, this commit is the
>>> root cause.
>>
>> Thanks for the report.
>>
>> Could you please apply the following patch on top of this revert,
>> and let us know if the problem still manifests? Thank you!
>>
>> diff --git a/drivers/net/wwan/mhi_wwan_mbim.c b/drivers/net/wwan/mhi_wwan_mbim.c
>> index 1d7e3ad900c1..a271a72fed63 100644
>> --- a/drivers/net/wwan/mhi_wwan_mbim.c
>> +++ b/drivers/net/wwan/mhi_wwan_mbim.c
>> @@ -78,9 +78,12 @@ struct mhi_mbim_context {
>>
>> struct mbim_tx_hdr {
>> struct usb_cdc_ncm_nth16 nth16;
>> - struct usb_cdc_ncm_ndp16 ndp16;
>> - struct usb_cdc_ncm_dpe16 dpe16[2];
>> + __TRAILING_OVERLAP(struct usb_cdc_ncm_ndp16, ndp16, dpe16, __packed,
>> + struct usb_cdc_ncm_dpe16 dpe16[2];
>> + );
>> } __packed;
>> +static_assert(offsetof(struct mbim_tx_hdr, ndp16.dpe16) ==
>> + offsetof(struct mbim_tx_hdr, dpe16));
>>
>> static struct mhi_mbim_link *mhi_mbim_get_link_rcu(struct mhi_mbim_context *mbim,
>> unsigned int session)
> This patch won't introduce previous problem.
>
Thanks for confirming this.
I'll turn it into a proper patch.
-Gustavo
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re:Re: [net] Revert "net: wwan: mhi_wwan_mbim: Avoid -Wflex-array-member-not-at-end warning"
2026-01-20 9:28 ` Gustavo A. R. Silva
@ 2026-01-22 1:30 ` Slark Xiao
2026-01-22 2:14 ` Gustavo A. R. Silva
0 siblings, 1 reply; 8+ messages in thread
From: Slark Xiao @ 2026-01-22 1:30 UTC (permalink / raw)
To: Gustavo A. R. Silva
Cc: loic.poulain, ryazanov.s.a, johannes, andrew+netdev, davem,
edumazet, kuba, pabeni, gustavoars, netdev, linux-kernel,
linux-hardening
At 2026-01-20 17:28:42, "Gustavo A. R. Silva" <gustavo@embeddedor.com> wrote:
>
>
>On 1/20/26 18:16, Slark Xiao wrote:
>>
>>
>> At 2026-01-20 15:51:57, "Gustavo A. R. Silva" <gustavo@embeddedor.com> wrote:
>>> Hi Slark,
>>>
>>> On 1/20/26 16:20, Slark Xiao wrote:
>>>> This reverts commit eeecf5d3a3a484cedfa3f2f87e6d51a7390ed960.
>>>>
>>>> This change lead to MHI WWAN device can't connect to internet.
>>>> I found a netwrok issue with kernel 6.19-rc4, but network works
>>>> well with kernel 6.18-rc1. After checking, this commit is the
>>>> root cause.
>>>
>>> Thanks for the report.
>>>
>>> Could you please apply the following patch on top of this revert,
>>> and let us know if the problem still manifests? Thank you!
>>>
>>> diff --git a/drivers/net/wwan/mhi_wwan_mbim.c b/drivers/net/wwan/mhi_wwan_mbim.c
>>> index 1d7e3ad900c1..a271a72fed63 100644
>>> --- a/drivers/net/wwan/mhi_wwan_mbim.c
>>> +++ b/drivers/net/wwan/mhi_wwan_mbim.c
>>> @@ -78,9 +78,12 @@ struct mhi_mbim_context {
>>>
>>> struct mbim_tx_hdr {
>>> struct usb_cdc_ncm_nth16 nth16;
>>> - struct usb_cdc_ncm_ndp16 ndp16;
>>> - struct usb_cdc_ncm_dpe16 dpe16[2];
>>> + __TRAILING_OVERLAP(struct usb_cdc_ncm_ndp16, ndp16, dpe16, __packed,
>>> + struct usb_cdc_ncm_dpe16 dpe16[2];
>>> + );
>>> } __packed;
>>> +static_assert(offsetof(struct mbim_tx_hdr, ndp16.dpe16) ==
>>> + offsetof(struct mbim_tx_hdr, dpe16));
>>>
>>> static struct mhi_mbim_link *mhi_mbim_get_link_rcu(struct mhi_mbim_context *mbim,
>>> unsigned int session)
>> This patch won't introduce previous problem.
>>
>
>Thanks for confirming this.
>
>I'll turn it into a proper patch.
>
>-Gustavo
Hi,
Are you planing to add this revert commit to your coming patch?
Actually it's urgent to revert this change since the release deadline of v6.19 is coming soon
and all my MHI WWAN device have been impacted.
I don't know why this commit has been tagged as "Not Applicable" and who did this.
I hope we can fix it regression before the official v6.19 release.
Thanks
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [net] Revert "net: wwan: mhi_wwan_mbim: Avoid -Wflex-array-member-not-at-end warning"
2026-01-22 1:30 ` Slark Xiao
@ 2026-01-22 2:14 ` Gustavo A. R. Silva
2026-01-22 2:18 ` Slark Xiao
0 siblings, 1 reply; 8+ messages in thread
From: Gustavo A. R. Silva @ 2026-01-22 2:14 UTC (permalink / raw)
To: Slark Xiao
Cc: loic.poulain, ryazanov.s.a, johannes, andrew+netdev, davem,
edumazet, kuba, pabeni, gustavoars, netdev, linux-kernel,
linux-hardening
On 1/22/26 10:30, Slark Xiao wrote:
>
>
> At 2026-01-20 17:28:42, "Gustavo A. R. Silva" <gustavo@embeddedor.com> wrote:
>>
>>
>> On 1/20/26 18:16, Slark Xiao wrote:
>>>
>>>
>>> At 2026-01-20 15:51:57, "Gustavo A. R. Silva" <gustavo@embeddedor.com> wrote:
>>>> Hi Slark,
>>>>
>>>> On 1/20/26 16:20, Slark Xiao wrote:
>>>>> This reverts commit eeecf5d3a3a484cedfa3f2f87e6d51a7390ed960.
>>>>>
>>>>> This change lead to MHI WWAN device can't connect to internet.
>>>>> I found a netwrok issue with kernel 6.19-rc4, but network works
>>>>> well with kernel 6.18-rc1. After checking, this commit is the
>>>>> root cause.
>>>>
>>>> Thanks for the report.
>>>>
>>>> Could you please apply the following patch on top of this revert,
>>>> and let us know if the problem still manifests? Thank you!
>>>>
>>>> diff --git a/drivers/net/wwan/mhi_wwan_mbim.c b/drivers/net/wwan/mhi_wwan_mbim.c
>>>> index 1d7e3ad900c1..a271a72fed63 100644
>>>> --- a/drivers/net/wwan/mhi_wwan_mbim.c
>>>> +++ b/drivers/net/wwan/mhi_wwan_mbim.c
>>>> @@ -78,9 +78,12 @@ struct mhi_mbim_context {
>>>>
>>>> struct mbim_tx_hdr {
>>>> struct usb_cdc_ncm_nth16 nth16;
>>>> - struct usb_cdc_ncm_ndp16 ndp16;
>>>> - struct usb_cdc_ncm_dpe16 dpe16[2];
>>>> + __TRAILING_OVERLAP(struct usb_cdc_ncm_ndp16, ndp16, dpe16, __packed,
>>>> + struct usb_cdc_ncm_dpe16 dpe16[2];
>>>> + );
>>>> } __packed;
>>>> +static_assert(offsetof(struct mbim_tx_hdr, ndp16.dpe16) ==
>>>> + offsetof(struct mbim_tx_hdr, dpe16));
>>>>
>>>> static struct mhi_mbim_link *mhi_mbim_get_link_rcu(struct mhi_mbim_context *mbim,
>>>> unsigned int session)
>>> This patch won't introduce previous problem.
>>>
>>
>> Thanks for confirming this.
>>
>> I'll turn it into a proper patch.
>>
>> -Gustavo
> Hi,
> Are you planing to add this revert commit to your coming patch?
No. I think the revert should be applied by the maintainers, first.
Thanks
-Gustavo
> Actually it's urgent to revert this change since the release deadline of v6.19 is coming soon
> and all my MHI WWAN device have been impacted.
> I don't know why this commit has been tagged as "Not Applicable" and who did this.
>
> I hope we can fix it regression before the official v6.19 release.
>
> Thanks
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re:Re: [net] Revert "net: wwan: mhi_wwan_mbim: Avoid -Wflex-array-member-not-at-end warning"
2026-01-22 2:14 ` Gustavo A. R. Silva
@ 2026-01-22 2:18 ` Slark Xiao
0 siblings, 0 replies; 8+ messages in thread
From: Slark Xiao @ 2026-01-22 2:18 UTC (permalink / raw)
To: Gustavo A. R. Silva, Loic Poulain
Cc: ryazanov.s.a, johannes, andrew+netdev, davem, edumazet, kuba,
pabeni, gustavoars, netdev, linux-kernel, linux-hardening
At 2026-01-22 10:14:41, "Gustavo A. R. Silva" <gustavo@embeddedor.com> wrote:
>
>
>On 1/22/26 10:30, Slark Xiao wrote:
>>
>>
>> At 2026-01-20 17:28:42, "Gustavo A. R. Silva" <gustavo@embeddedor.com> wrote:
>>>
>>>
>>> On 1/20/26 18:16, Slark Xiao wrote:
>>>>
>>>>
>>>> At 2026-01-20 15:51:57, "Gustavo A. R. Silva" <gustavo@embeddedor.com> wrote:
>>>>> Hi Slark,
>>>>>
>>>>> On 1/20/26 16:20, Slark Xiao wrote:
>>>>>> This reverts commit eeecf5d3a3a484cedfa3f2f87e6d51a7390ed960.
>>>>>>
>>>>>> This change lead to MHI WWAN device can't connect to internet.
>>>>>> I found a netwrok issue with kernel 6.19-rc4, but network works
>>>>>> well with kernel 6.18-rc1. After checking, this commit is the
>>>>>> root cause.
>>>>>
>>>>> Thanks for the report.
>>>>>
>>>>> Could you please apply the following patch on top of this revert,
>>>>> and let us know if the problem still manifests? Thank you!
>>>>>
>>>>> diff --git a/drivers/net/wwan/mhi_wwan_mbim.c b/drivers/net/wwan/mhi_wwan_mbim.c
>>>>> index 1d7e3ad900c1..a271a72fed63 100644
>>>>> --- a/drivers/net/wwan/mhi_wwan_mbim.c
>>>>> +++ b/drivers/net/wwan/mhi_wwan_mbim.c
>>>>> @@ -78,9 +78,12 @@ struct mhi_mbim_context {
>>>>>
>>>>> struct mbim_tx_hdr {
>>>>> struct usb_cdc_ncm_nth16 nth16;
>>>>> - struct usb_cdc_ncm_ndp16 ndp16;
>>>>> - struct usb_cdc_ncm_dpe16 dpe16[2];
>>>>> + __TRAILING_OVERLAP(struct usb_cdc_ncm_ndp16, ndp16, dpe16, __packed,
>>>>> + struct usb_cdc_ncm_dpe16 dpe16[2];
>>>>> + );
>>>>> } __packed;
>>>>> +static_assert(offsetof(struct mbim_tx_hdr, ndp16.dpe16) ==
>>>>> + offsetof(struct mbim_tx_hdr, dpe16));
>>>>>
>>>>> static struct mhi_mbim_link *mhi_mbim_get_link_rcu(struct mhi_mbim_context *mbim,
>>>>> unsigned int session)
>>>> This patch won't introduce previous problem.
>>>>
>>>
>>> Thanks for confirming this.
>>>
>>> I'll turn it into a proper patch.
>>>
>>> -Gustavo
>> Hi,
>> Are you planing to add this revert commit to your coming patch?
>
>No. I think the revert should be applied by the maintainers, first.
>
>Thanks
>-Gustavo
>
Hi Loic,
Could you help check this commit status?
Thanks
>> Actually it's urgent to revert this change since the release deadline of v6.19 is coming soon
>> and all my MHI WWAN device have been impacted.
>> I don't know why this commit has been tagged as "Not Applicable" and who did this.
>>
>> I hope we can fix it regression before the official v6.19 release.
>>
>> Thanks
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [net] Revert "net: wwan: mhi_wwan_mbim: Avoid -Wflex-array-member-not-at-end warning"
2026-01-20 7:20 [net] Revert "net: wwan: mhi_wwan_mbim: Avoid -Wflex-array-member-not-at-end warning" Slark Xiao
2026-01-20 7:51 ` Gustavo A. R. Silva
@ 2026-01-22 3:10 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 8+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-01-22 3:10 UTC (permalink / raw)
To: Slark Xiao
Cc: loic.poulain, ryazanov.s.a, johannes, andrew+netdev, davem,
edumazet, kuba, pabeni, gustavoars, netdev, linux-kernel
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 20 Jan 2026 15:20:18 +0800 you wrote:
> This reverts commit eeecf5d3a3a484cedfa3f2f87e6d51a7390ed960.
>
> This change lead to MHI WWAN device can't connect to internet.
> I found a netwrok issue with kernel 6.19-rc4, but network works
> well with kernel 6.18-rc1. After checking, this commit is the
> root cause.
>
> [...]
Here is the summary with links:
- [net] Revert "net: wwan: mhi_wwan_mbim: Avoid -Wflex-array-member-not-at-end warning"
https://git.kernel.org/netdev/net/c/2030c4358bd8
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-01-22 3:10 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-20 7:20 [net] Revert "net: wwan: mhi_wwan_mbim: Avoid -Wflex-array-member-not-at-end warning" Slark Xiao
2026-01-20 7:51 ` Gustavo A. R. Silva
2026-01-20 9:16 ` Slark Xiao
2026-01-20 9:28 ` Gustavo A. R. Silva
2026-01-22 1:30 ` Slark Xiao
2026-01-22 2:14 ` Gustavo A. R. Silva
2026-01-22 2:18 ` Slark Xiao
2026-01-22 3:10 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox