aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2024-04-24 09:11:07 -0700
committerJakub Kicinski <kuba@kernel.org>2024-04-25 19:32:31 -0700
commitc984f374aeec6118d59f115bb69ff1a7344a0443 (patch)
treed74187d6cbe15df4940e2f92cd0c0e09da054179 /drivers/net/ethernet/intel/igc/igc_main.c
parent9ac7f7973587e406f20d16caeae6814ffaff31b9 (diff)
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>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions