diff options
author | Breno Leitao <[email protected]> | 2024-06-19 03:52:36 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-06-20 19:30:00 -0700 |
commit | 08f116c9ea6dfddf2a9649a10032902a4d72f6da (patch) | |
tree | 2b6f832d8cbfab7ab1ed96b846213b2411f3bae9 /tools/perf/scripts/python/parallel-perf.py | |
parent | d21a103b612c4bb149faf2b5eb25f4667378824b (diff) |
wifi: mt76: un-embedd netdev from mt76_dev
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().
The free of the device occurs at mt76_dma_cleanup().
Link: https://lore.kernel.org/all/[email protected]/ [1]
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: Breno Leitao <[email protected]>
Acked-by: Kalle Valo <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions