projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bee9705
)
net: phy: at803x: remove extra space after cast
author
Christian Marangi
<ansuelsmth@gmail.com>
Sun, 17 Dec 2023 23:27:39 +0000
(
00:27
+0100)
committer
Paolo Abeni
<pabeni@redhat.com>
Thu, 21 Dec 2023 12:52:15 +0000
(13:52 +0100)
Remove extra space after cast as reported by checkpatch to keep code
clean.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link:
https://lore.kernel.org/r/20231217232739.27065-1-ansuelsmth@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/at803x.c
patch
|
blob
|
history
diff --git
a/drivers/net/phy/at803x.c
b/drivers/net/phy/at803x.c
index a7d28848ee933133941af65de2c0a9f9c1282e25..423cbe4aa8725889af2dcd5b3ac05fe1ec4914fd 100644
(file)
--- a/
drivers/net/phy/at803x.c
+++ b/
drivers/net/phy/at803x.c
@@
-462,7
+462,7
@@
static int at803x_set_wol(struct phy_device *phydev,
if (!ndev)
return -ENODEV;
- mac = (const u8 *)
ndev->dev_addr;
+ mac = (const u8 *)ndev->dev_addr;
if (!is_valid_ether_addr(mac))
return -EINVAL;