diff options
author | Breno Leitao <[email protected]> | 2024-04-25 01:29:09 -0700 |
---|---|---|
committer | Ping-Ke Shih <[email protected]> | 2024-05-09 14:16:39 +0800 |
commit | d0bcb10e7b94861c714ab1e62c98bf8abaa37527 (patch) | |
tree | 276f5a8cc04d4b28468200425472300733493901 /tools/perf/scripts/python/sctop.py | |
parent | 4c9aa94a39e6ef1a1381b1e6d841105fee5b7c96 (diff) |
wifi: rtw88: 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/[email protected]/
Tested with RTL8723DE and RTL8822CE.
Signed-off-by: Breno Leitao <[email protected]>
Acked-by: Ping-Ke Shih <[email protected]>
Tested-by: Ping-Ke Shih <[email protected]>
Signed-off-by: Ping-Ke Shih <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions