2
0

707-v6.8-01-net-phy-at803x-fix-passing-the-wrong-reference-for-c.patch 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. From f8fdbf3389f44c7026f16e36cb1f2ff017f7f5b2 Mon Sep 17 00:00:00 2001
  2. From: Christian Marangi <[email protected]>
  3. Date: Fri, 8 Dec 2023 15:51:48 +0100
  4. Subject: [PATCH 01/13] net: phy: at803x: fix passing the wrong reference for
  5. config_intr
  6. Fix passing the wrong reference for config_initr on passing the function
  7. pointer, drop the wrong & from at803x_config_intr in the PHY struct.
  8. Signed-off-by: Christian Marangi <[email protected]>
  9. Reviewed-by: Andrew Lunn <[email protected]>
  10. Signed-off-by: David S. Miller <[email protected]>
  11. ---
  12. drivers/net/phy/at803x.c | 6 +++---
  13. 1 file changed, 3 insertions(+), 3 deletions(-)
  14. --- a/drivers/net/phy/at803x.c
  15. +++ b/drivers/net/phy/at803x.c
  16. @@ -2104,7 +2104,7 @@ static struct phy_driver at803x_driver[]
  17. .write_page = at803x_write_page,
  18. .get_features = at803x_get_features,
  19. .read_status = at803x_read_status,
  20. - .config_intr = &at803x_config_intr,
  21. + .config_intr = at803x_config_intr,
  22. .handle_interrupt = at803x_handle_interrupt,
  23. .get_tunable = at803x_get_tunable,
  24. .set_tunable = at803x_set_tunable,
  25. @@ -2134,7 +2134,7 @@ static struct phy_driver at803x_driver[]
  26. .resume = at803x_resume,
  27. .flags = PHY_POLL_CABLE_TEST,
  28. /* PHY_BASIC_FEATURES */
  29. - .config_intr = &at803x_config_intr,
  30. + .config_intr = at803x_config_intr,
  31. .handle_interrupt = at803x_handle_interrupt,
  32. .cable_test_start = at803x_cable_test_start,
  33. .cable_test_get_status = at803x_cable_test_get_status,
  34. @@ -2150,7 +2150,7 @@ static struct phy_driver at803x_driver[]
  35. .resume = at803x_resume,
  36. .flags = PHY_POLL_CABLE_TEST,
  37. /* PHY_BASIC_FEATURES */
  38. - .config_intr = &at803x_config_intr,
  39. + .config_intr = at803x_config_intr,
  40. .handle_interrupt = at803x_handle_interrupt,
  41. .cable_test_start = at803x_cable_test_start,
  42. .cable_test_get_status = at803x_cable_test_get_status,