Thread (3 messages) flat view 3 messages, 3 authors, 2024-06-21

Re: [PATCH net-next v2] wifi: mt76: un-embedd netdev from mt76_dev

From: patchwork-bot+netdevbpf@kernel.org
Date: 2024-06-21 03:30:29
Also in: linux-arm-kernel, linux-mediatek, linux-wireless, lkml

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

On Wed, 19 Jun 2024 03:52:36 -0700 you wrote:
Embedding net_device into structures prohibits the usage of flexible
arrays in the net_device structure. For more details, see the discussion
at [1].

Un-embed the net_devices from struct mt76_dev by converting them
into pointers, and allocating them dynamically. Use the leverage
alloc_netdev_dummy() to allocate the net_device object at
mt76_dma_init().

[...]
Here is the summary with links:
  - [net-next,v2] wifi: mt76: un-embedd netdev from mt76_dev
    https://git.kernel.org/netdev/net-next/c/08f116c9ea6d

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help