1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
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 net: wwan: t7xx: do not compile with -Werror 2023-03-31 09:34:53 +01:00
t7xx_cldma.c net: wwan: t7xx: Split 64bit accesses to fix alignment issues 2024-03-25 19:51:57 -07:00
t7xx_cldma.h
t7xx_dpmaif.c net: wwan: t7xx: Fix return type of t7xx_dl_add_timedout() 2022-05-16 11:41:50 +01:00
t7xx_dpmaif.h net: wwan: t7xx: Data path HW layer 2022-05-09 10:51:59 +01:00
t7xx_hif_cldma.c net: wwan: t7xx: Split 64bit accesses to fix alignment issues 2024-03-25 19:51:57 -07:00
t7xx_hif_cldma.h net: wwan: t7xx: Infrastructure for early port configuration 2024-02-09 12:07:48 +00:00
t7xx_hif_dpmaif.c net: wwan: t7xx: Fix Runtime PM resume sequence 2023-01-28 13:20:20 +00:00
t7xx_hif_dpmaif.h net: wwan: t7xx: Add NAPI support 2022-11-07 09:34:12 +00:00
t7xx_hif_dpmaif_rx.c netdev: replace napi_reschedule with napi_schedule 2023-10-11 17:28:06 -07:00
t7xx_hif_dpmaif_rx.h net: wwan: t7xx: Add NAPI support 2022-11-07 09:34:12 +00:00
t7xx_hif_dpmaif_tx.c net: wwan: t7xx: Use alloc_ordered_workqueue() to create ordered workqueues 2023-05-25 12:15:29 -10:00
t7xx_hif_dpmaif_tx.h net: wwan: t7xx: Add data path interface 2022-05-09 10:51:59 +01:00
t7xx_mhccif.c net: wwan: t7xx: Device deep sleep lock/unlock 2022-05-09 10:51:59 +01:00
t7xx_mhccif.h net: wwan: t7xx: Add AP CLDMA 2023-07-12 17:16:56 -07:00
t7xx_modem_ops.c net: wwan: t7xx: Infrastructure for early port configuration 2024-02-09 12:07:48 +00:00
t7xx_modem_ops.h net: wwan: t7xx: Add sysfs attribute for device state machine 2024-02-09 12:07:48 +00:00
t7xx_netdev.c net: wwan: t7xx: Un-embed dummy device 2024-04-25 19:32:31 -07:00
t7xx_netdev.h net: wwan: t7xx: Un-embed dummy device 2024-04-25 19:32:31 -07:00
t7xx_pci.c net: wwan: t7xx: Infrastructure for early port configuration 2024-02-09 12:07:48 +00:00
t7xx_pci.h net: wwan: t7xx: Add sysfs attribute for device state machine 2024-02-09 12:07:48 +00:00
t7xx_pcie_mac.c net: wwan: t7xx: Split 64bit accesses to fix alignment issues 2024-03-25 19:51:57 -07:00
t7xx_pcie_mac.h
t7xx_port.h net: wwan: t7xx: Infrastructure for early port configuration 2024-02-09 12:07:48 +00:00
t7xx_port_ctrl_msg.c net: wwan: t7xx: Add AP CLDMA 2023-07-12 17:16:56 -07:00
t7xx_port_proxy.c net: wwan: t7xx: Prefer struct_size over open coded arithmetic 2024-02-27 18:09:35 -08:00
t7xx_port_proxy.h net: wwan: t7xx: Infrastructure for early port configuration 2024-02-09 12:07:48 +00:00
t7xx_port_trace.c net: wwan: t7xx: Add port for modem logging 2022-11-02 11:39:49 +00:00
t7xx_port_wwan.c net: wwan: t7xx: Add fastboot WWAN port 2024-02-09 12:07:48 +00:00
t7xx_reg.h net: wwan: t7xx: Infrastructure for early port configuration 2024-02-09 12:07:48 +00:00
t7xx_state_monitor.c net: wwan: t7xx: Add fastboot WWAN port 2024-02-09 12:07:48 +00:00
t7xx_state_monitor.h net: wwan: t7xx: Infrastructure for early port configuration 2024-02-09 12:07:48 +00:00