diff options
| author | Breno Leitao <leitao@debian.org> | 2024-04-24 11:23:49 -0700 |
|---|---|---|
| committer | Ping-Ke Shih <pkshih@realtek.com> | 2024-05-09 14:04:09 +0800 |
| commit | 4c9aa94a39e6ef1a1381b1e6d841105fee5b7c96 (patch) | |
| tree | dca8dde996ad7a6efbfe5bd6d69212a9fa7624d9 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 83127ecada257e27f4740dbca9644dd0e838bc36 (diff) | |
wifi: rtw89: Un-embed dummy device
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_device from the private struct by converting it
into a pointer. Then use the leverage the new alloc_netdev_dummy()
helper to allocate and initialize dummy devices.
[1] https://lore.kernel.org/all/20240229225910.79e224cf@kernel.org/
Tested with RTL8852BE, RTL8852C and RTL8922AE.
Signed-off-by: Breno Leitao <leitao@debian.org>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Tested-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/20240424182351.3936556-1-leitao@debian.org
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
