diff options
author | Breno Leitao <[email protected]> | 2024-05-03 03:32:56 -0700 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2024-05-07 13:05:24 +0300 |
commit | 10d2b4f4aa0b9a1ac55d2313d2c682add25e31c6 (patch) | |
tree | 49a68a354181e80a67a83a0fbfe0a1febf513e38 /tools/perf/scripts/python/sched-migration.py | |
parent | 4c2b796be3a12a11ab611917fafdabc9d3862a1d (diff) |
wifi: wil6210: Do not use embedded netdev in wil6210_priv
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 struct wil6210_priv by converting it
into a pointer. Then use the leverage alloc_netdev_dummy() to allocate
the net_device object at wil_if_add(). The free of the device
occurs at wil_if_remove().
Link: https://lore.kernel.org/all/[email protected]/ [1]
Signed-off-by: Breno Leitao <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions