Message ID | 20231217232739.27065-1-ansuelsmth@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | fc9d7264ddc32eaa647d6bfcdc25cdf9f786fde0 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next] net: phy: at803x: remove extra space after cast | expand |
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
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!
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;
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(-)