linux/drivers/net/wwan
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
..
iosm devlink: extend devlink_param *set pointer 2024-04-22 13:05:19 -07:00
t7xx net: wwan: t7xx: Un-embed dummy device 2024-04-25 19:32:31 -07:00
Kconfig
Makefile
mhi_wwan_ctrl.c wwan: core: Support slicing in port TX flow of WWAN subsystem 2023-03-17 22:38:31 -07:00
mhi_wwan_mbim.c net: wwan: mhi: drop driver owner assignment 2024-03-29 12:32:51 -07:00
qcom_bam_dmux.c net: wwan: qcom_bam_dmux: Convert to platform remove callback returning void 2023-12-05 19:54:44 -08:00
rpmsg_wwan_ctrl.c net: wwan: replace deprecated strncpy with strscpy 2023-10-20 18:15:05 -07:00
wwan_core.c net: wwan: core: make wwan_class constant 2024-03-05 11:21:18 -08:00
wwan_hwsim.c net: wwan: hwsim: make wwan_hwsim_class constant 2024-03-05 11:21:18 -08:00