[net-next] net: phy: at803x: remove extra space after cast

Message ID 20231217232739.27065-1-ansuelsmth@gmail.com
State New
Headers
Series [net-next] net: phy: at803x: remove extra space after cast |

Commit Message

Christian Marangi Dec. 17, 2023, 11:27 p.m. UTC
  Remove extra space after cast as reported by checkpatch to keep code
clean.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
 drivers/net/phy/at803x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Andrew Lunn Dec. 18, 2023, 9:46 a.m. UTC | #1
On Mon, Dec 18, 2023 at 12:27:39AM +0100, Christian Marangi wrote:
> 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>

    Andrew
  
patchwork-bot+netdevbpf@kernel.org Dec. 21, 2023, 3 p.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Mon, 18 Dec 2023 00:27:39 +0100 you wrote:
> Remove extra space after cast as reported by checkpatch to keep code
> clean.
> 
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> ---
>  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!
  

Patch

diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c
index 2b2f0fadaf84..d5dc927618ab 100644
--- 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;