Skip to contentSkip to conversation

net: phy: at803x: remove extra space after cast

PATCH Applied Christian Marangi 3 participants 3 messages Dec 17, 2023 – Dec 21, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: phy: at803x: remove extra space after cast

Remove extra space after cast as reported by checkpatch to keep code clean.

---
 drivers/net/phy/at803x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/phy/at803x.c +1 -1
index 2b2f0fadaf84..d5dc927618ab 100644
@@ -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;
Signature · 1 line
2.40.1
#2 lore raw
In reply to Christian Marangi
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>:

Quoted 7 lines · On Mon, 18 Dec 2023 00:27:39 +0100 you wrote:

Remove extra space after cast as reported by checkpatch to keep code clean.

---
 drivers/net/phy/at803x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- [net-next] net: phy: at803x: remove extra space after cast

    https://git.kernel.org/netdev/net-next/c/fc9d7264ddc3

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html