linux/drivers/net/wwan/t7xx
Breno Leitao c984f374ae net: wwan: t7xx: 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/

Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://lore.kernel.org/r/20240424161108.3397057-1-leitao@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-04-25 19:32:31 -07:00
..
Makefile
t7xx_cldma.c
t7xx_cldma.h
t7xx_dpmaif.c
t7xx_dpmaif.h
t7xx_hif_cldma.c
t7xx_hif_cldma.h
t7xx_hif_dpmaif.c
t7xx_hif_dpmaif.h
t7xx_hif_dpmaif_rx.c
t7xx_hif_dpmaif_rx.h
t7xx_hif_dpmaif_tx.c
t7xx_hif_dpmaif_tx.h
t7xx_mhccif.c
t7xx_mhccif.h
t7xx_modem_ops.c
t7xx_modem_ops.h
t7xx_netdev.c
t7xx_netdev.h
t7xx_pci.c
t7xx_pci.h
t7xx_pcie_mac.c
t7xx_pcie_mac.h
t7xx_port.h
t7xx_port_ctrl_msg.c
t7xx_port_proxy.c
t7xx_port_proxy.h
t7xx_port_trace.c
t7xx_port_wwan.c
t7xx_reg.h
t7xx_state_monitor.c
t7xx_state_monitor.h