diff options
author | Breno Leitao <[email protected]> | 2024-05-08 02:54:09 -0700 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2024-05-13 17:19:13 +0300 |
commit | 4f9206e8c2c15a3770e3eb0b9755a05d559fecea (patch) | |
tree | 5f090bcdde5424a4e99f77b82985ae597cd13005 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 6d67d18014a8130defbca1972d7f0e0a8f8f259e (diff) |
wifi: ath12k: allocate dummy net_device dynamically
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 ath12k_ext_irq_grp by converting it
into a pointer. Then use the leverage alloc_netdev_dummy() to allocate
the net_device object at ath12k_pci_ext_irq_config().
The free of the device occurs at ath12k_pci_free_ext_irq().
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/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions