2
0

709-v6.8-01-net-phy-at803x-remove-extra-space-after-cast.patch 899 B

123456789101112131415161718192021222324252627
  1. From fc9d7264ddc32eaa647d6bfcdc25cdf9f786fde0 Mon Sep 17 00:00:00 2001
  2. From: Christian Marangi <[email protected]>
  3. Date: Mon, 18 Dec 2023 00:27:39 +0100
  4. Subject: [PATCH 1/2] net: phy: at803x: remove extra space after cast
  5. Remove extra space after cast as reported by checkpatch to keep code
  6. clean.
  7. Signed-off-by: Christian Marangi <[email protected]>
  8. Reviewed-by: Andrew Lunn <[email protected]>
  9. Link: https://lore.kernel.org/r/[email protected]
  10. Signed-off-by: Paolo Abeni <[email protected]>
  11. ---
  12. drivers/net/phy/at803x.c | 2 +-
  13. 1 file changed, 1 insertion(+), 1 deletion(-)
  14. --- a/drivers/net/phy/at803x.c
  15. +++ b/drivers/net/phy/at803x.c
  16. @@ -462,7 +462,7 @@ static int at803x_set_wol(struct phy_dev
  17. if (!ndev)
  18. return -ENODEV;
  19. - mac = (const u8 *) ndev->dev_addr;
  20. + mac = (const u8 *)ndev->dev_addr;
  21. if (!is_valid_ether_addr(mac))
  22. return -EINVAL;