netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] net: fec: Fix device_get_match_data usage
@ 2023-10-17  6:34 Alexander Stein
  2023-10-17  6:34 ` [PATCH v2 1/2] " Alexander Stein
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Alexander Stein @ 2023-10-17  6:34 UTC (permalink / raw)
  To: Wei Fang, Shenwei Wang, Clark Wang, David S . Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring
  Cc: Alexander Stein, NXP Linux Team, netdev

Hi,

this is v2 adressing the regression introduced by commit b0377116decd
("net: ethernet: Use device_get_match_data()").

Changes in v2:
* Update the OF device data pointers to the actual device specific struct
  fec_devinfo.
* Add Patch 2 (unrelated to regression) to remove platform IDs for
  non-Coldfire

You could also remove the (!dev_info) case for Coldfire as this platform
has no quirks. But IMHO this should be kept as long as Coldfire platform
data is supported.

Best regards,
Alexander

Alexander Stein (2):
  net: fec: Fix device_get_match_data usage
  net: fec: Remove non-Coldfire platform IDs

 drivers/net/ethernet/freescale/fec_main.c | 63 ++++-------------------
 1 file changed, 10 insertions(+), 53 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-10-19  1:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-17  6:34 [PATCH v2 0/2] net: fec: Fix device_get_match_data usage Alexander Stein
2023-10-17  6:34 ` [PATCH v2 1/2] " Alexander Stein
2023-10-18 11:33   ` Simon Horman
2023-10-17  6:34 ` [PATCH v2 2/2] net: fec: Remove non-Coldfire platform IDs Alexander Stein
2023-10-18 11:33   ` Simon Horman
2023-10-17 14:37 ` [PATCH v2 0/2] net: fec: Fix device_get_match_data usage Rob Herring
2023-10-19  1:00 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).