1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet
Alexander Stein e6809dba5e net: fec: Fix device_get_match_data usage
device_get_match_data() expects that of_device_id->data points to actual
fec_devinfo data, not a platform_device_id entry.
Fix this by adjusting OF device data pointers to their corresponding
structs.
enum imx_fec_type is now unused and can be removed.

Fixes: b0377116de ("net: ethernet: Use device_get_match_data()")
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231017063419.925266-2-alexander.stein@ew.tq-group.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-10-18 17:47:10 -07:00
..
3com 3c589_cs: Fix an error handling path in tc589_probe() 2023-05-22 19:17:58 -07:00
8390 net: ethernet: 8390: Convert to platform remove callback returning void 2023-09-20 09:06:37 +01:00
actions net: ethernet: actions: Convert to platform remove callback returning void 2023-09-20 09:06:37 +01:00
adaptec
adi net:ethernet:adi:adin1110: Fix forwarding offload 2023-09-11 08:30:22 +01:00
aeroflex net: ethernet: aeroflex: Convert to platform remove callback returning void 2023-09-20 09:06:37 +01:00
agere et131x: Use pci_dev_id() to simplify the code 2023-08-13 12:30:39 +01:00
alacritech net: ethernet: slicoss: remove redundant increment of pointer data 2023-07-28 15:37:08 -07:00
allwinner net: ethernet: allwinner: Convert to platform remove callback returning void 2023-09-20 09:06:37 +01:00
alteon net: alteon: remove unused len variable 2023-04-02 13:43:43 +01:00
altera net: ethernet: Use device_get_match_data() 2023-10-13 10:04:53 +01:00
amazon net: Tree wide: Replace xdp_do_flush_map() with xdp_do_flush(). 2023-10-03 07:34:51 -07:00
amd net: ethernet: Use device_get_match_data() 2023-10-13 10:04:53 +01:00
apm net: ethernet: Use device_get_match_data() 2023-10-13 10:04:53 +01:00
apple net: ethernet: apple: Convert to platform remove callback returning void 2023-09-20 09:06:37 +01:00
aquantia net: atlantic: Remove unnecessary (void*) conversions 2023-07-18 19:00:47 -07:00
arc net: ethernet: arc: Convert to platform remove callback returning void 2023-09-20 09:06:37 +01:00
asix net: ax88796c: replace deprecated strncpy with strscpy 2023-10-06 15:55:29 -07:00
atheros netdev: use napi_schedule bool instead of napi_schedule_prep/__napi_schedule 2023-10-11 17:28:06 -07:00
broadcom eth: bnxt: fix backward compatibility with older devices 2023-10-17 17:50:55 -07:00
brocade bna: replace deprecated strncpy with strscpy_pad 2023-10-11 17:26:14 -07:00
cadence net: ethernet: cadence: Convert to platform remove callback returning void 2023-09-20 09:06:38 +01:00
calxeda net: ethernet: calxeda: Convert to platform remove callback returning void 2023-09-20 09:06:38 +01:00
cavium cavium/liquidio: replace deprecated strncpy with strscpy 2023-10-09 19:43:14 -07:00
chelsio net: cxgb3: simplify logic for rspq_check_napi 2023-10-16 09:09:54 +01:00
cirrus net: ethernet: cirrus: Convert to platform remove callback returning void 2023-09-20 09:06:38 +01:00
cisco
cortina net: ethernet: cortina: Convert to platform remove callback returning void 2023-09-20 09:06:38 +01:00
davicom net: ethernet: davicom: Convert to platform remove callback returning void 2023-09-20 09:06:38 +01:00
dec net: tulip: Annotate struct mediatable with __counted_by 2023-10-02 11:24:55 -07:00
dlink
emulex rtnetlink: remove redundant checks for nlattr IFLA_BRIDGE_MODE 2023-08-08 15:10:37 -07:00
engleder tsnep: Inline small fragments within TX descriptor 2023-10-16 09:59:34 +01:00
ezchip netdev: replace napi_reschedule with napi_schedule 2023-10-11 17:28:06 -07:00
faraday net: ethernet: faraday: Convert to platform remove callback returning void 2023-09-20 09:06:38 +01:00
freescale net: fec: Fix device_get_match_data usage 2023-10-18 17:47:10 -07:00
fujitsu
fungible eth: add missing xdp.h includes in drivers 2023-08-03 08:38:07 -07:00
google netdev: replace napi_reschedule with napi_schedule 2023-10-11 17:28:06 -07:00
hisilicon net: ethernet: Use device_get_match_data() 2023-10-13 10:04:53 +01:00
huawei Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-09-21 21:49:45 +02:00
i825xx net: ethernet: i825xx: Convert to platform remove callback returning void 2023-09-20 09:06:38 +01:00
ibm ibmvnic: replace deprecated strncpy with strscpy 2023-10-13 10:18:20 +01:00
intel ice: Refactor finding advertised link speed 2023-10-18 09:36:35 +01:00
litex net: ethernet: litex: Convert to platform remove callback returning void 2023-09-20 09:06:39 +01:00
marvell octeontx2-af: Enable hardware timestamping for VFs 2023-10-13 16:58:38 -07:00
mediatek Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-10-05 13:16:47 -07:00
mellanox net/mlx5e: Allow IPsec soft/hard limits in bytes 2023-10-14 10:16:33 -07:00
micrel net: ethernet: micrel: Convert to platform remove callback returning void 2023-09-20 09:06:39 +01:00
microchip net: sparx5: replace deprecated strncpy with ethtool_sprintf 2023-10-13 17:10:32 -07:00
microsoft net: mana: Fix oversized sge0 for GSO packets 2023-10-05 11:45:06 +02:00
moxa net: ethernet: moxa:: Convert to platform remove callback returning void 2023-09-20 09:06:39 +01:00
mscc net: ethernet: mscc: Convert to platform remove callback returning void 2023-09-20 09:06:39 +01:00
myricom net: move gso declarations and functions to their own files 2023-06-10 00:11:41 -07:00
natsemi net: ethernet: natsemi: Convert to platform remove callback returning void 2023-09-20 09:06:40 +01:00
neterion ethernet: s2io: Use ether_addr_to_u64() to convert ethernet address 2023-08-09 15:26:49 -07:00
netronome nfp: replace deprecated strncpy with strscpy 2023-10-13 17:09:10 -07:00
ni netdev: replace napi_reschedule with napi_schedule 2023-10-11 17:28:06 -07:00
nvidia forcedeth: Fix an error handling path in nv_probe() 2023-05-22 19:17:28 -07:00
nxp net: ethernet: nxp: Convert to platform remove callback returning void 2023-09-20 09:06:40 +01:00
oki-semi net: pch_gbe: Allow build on MIPS_GENERIC kernel 2023-06-08 19:18:32 -07:00
packetengines
pasemi net: pasemi: Fix return type of pasemi_mac_start_tx() 2023-03-21 13:48:35 +01:00
pensando ionic: replace deprecated strncpy with strscpy 2023-10-13 17:10:36 -07:00
qlogic qede: Refactor qede_forced_speed_maps_init() 2023-10-18 09:36:35 +01:00
qualcomm net: ethernet: qualcomm: Convert to platform remove callback returning void 2023-09-20 09:06:40 +01:00
rdc r6040: Fix kmemleak in probe and remove 2022-12-15 12:48:34 +01:00
realtek r8169: fix rare issue with broken rx after link-down on RTL8125 2023-10-13 17:34:12 -07:00
renesas Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-10-12 17:07:34 -07:00
rocker
samsung net: ethernet: samsung: Convert to platform remove callback returning void 2023-09-20 09:06:40 +01:00
seeq net: ethernet: seeq: Convert to platform remove callback returning void 2023-09-20 09:06:40 +01:00
sfc sfc: support offloading ct(nat) action in RHS rules 2023-10-15 14:25:03 +01:00
sgi net: ethernet: sgi: Convert to platform remove callback returning void 2023-09-20 09:06:40 +01:00
silan
sis
smsc net: ethernet: smsc: Convert to platform remove callback returning void 2023-09-20 09:06:40 +01:00
socionext net: Tree wide: Replace xdp_do_flush_map() with xdp_do_flush(). 2023-10-03 07:34:51 -07:00
stmicro net: stmmac: fix typo in comment 2023-10-13 11:22:03 +01:00
sun net: ethernet: sun: Convert to platform remove callback returning void 2023-09-20 09:06:41 +01:00
sunplus net: ethernet: sunplus: Convert to platform remove callback returning void 2023-09-20 09:06:41 +01:00
synopsys
tehuti
ti net: netcp: replace deprecated strncpy with strscpy 2023-10-16 16:14:09 -07:00
toshiba net: tc35815: rework network interface interrupt logic 2023-10-11 17:28:06 -07:00
tundra net: ethernet: tundra: Convert to platform remove callback returning void 2023-09-20 09:06:41 +01:00
vertexcom
via net: ethernet: via: Convert to platform remove callback returning void 2023-09-20 09:06:41 +01:00
wangxun net: ngbe: add ethtool stats support 2023-10-13 16:56:07 -07:00
wiznet net: ethernet: wiznet: Use spi_get_device_match_data() 2023-10-13 10:05:49 +01:00
xilinx net: ethernet: xilinx: Drop kernel doc comment about return value 2023-10-01 14:00:27 +01:00
xircom xirc2ps_cs: Fix use after free bug in xirc2ps_detach 2023-03-19 10:42:02 +00:00
xscale netdev: replace napi_reschedule with napi_schedule 2023-10-11 17:28:06 -07:00
dnet.c net: ethernet: dnet: Convert to platform remove callback returning void 2023-09-20 09:06:38 +01:00
dnet.h
ec_bhf.c ethernet: ec_bhf: Remove redundant pci_clear_master 2023-03-24 09:09:28 +00:00
ethoc.c net: ethernet: ethoc: Convert to platform remove callback returning void 2023-09-20 09:06:38 +01:00
fealnx.c eth: fealnx: bring back this old driver 2023-03-08 23:22:04 -08:00
jme.c
jme.h
Kconfig net: restore alpha order to Ethernet devices in config 2023-03-09 23:36:28 -08:00
korina.c net: ethernet: korina: Convert to platform remove callback returning void 2023-09-20 09:06:39 +01:00
lantiq_etop.c net: ethernet: lantiq_etop: Convert to platform remove callback returning void 2023-09-20 09:06:39 +01:00
lantiq_xrx200.c net: ethernet: lantiq_xrx200: Convert to platform remove callback returning void 2023-09-20 09:06:39 +01:00
Makefile eth: fealnx: bring back this old driver 2023-03-08 23:22:04 -08:00