Skip to contentSkip to conversation

net: marvell: prestera: Correct typo

PATCH Applied Florian Fainelli 2 participants 2 messages Jan 9, 2021 – Jan 12, 2021

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

PATCH 1/1 net: marvell: prestera: Correct typo

The function was incorrectly named with a trailing 'r' at the end of prestera.

---
Jakub, David,

This patch is on top of Vladimir's series: [PATCH v4 net-next 00/11] Get rid of the switchdev transactional model

 .../net/ethernet/marvell/prestera/prestera_switchdev.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/net/ethernet/marvell/prestera/prestera_switchdev.c +5 -5
index e2374a39e4f8..beb6447fbe40 100644
@@ -652,9 +652,9 @@ static int prestera_port_bridge_vlan_stp_set(struct prestera_port *port,
 	return 0;
 }
 
-static int presterar_port_attr_stp_state_set(struct prestera_port *port,
-					     struct net_device *dev,
-					     u8 state)
+static int prestera_port_attr_stp_state_set(struct prestera_port *port,
+					    struct net_device *dev,
+					    u8 state)
 {
 	struct prestera_bridge_port *br_port;
 	struct prestera_bridge_vlan *br_vlan;
@@ -702,8 +702,8 @@ static int prestera_port_obj_attr_set(struct net_device *dev,
 
 	switch (attr->id) {
 	case SWITCHDEV_ATTR_ID_PORT_STP_STATE:
-		err = presterar_port_attr_stp_state_set(port, attr->orig_dev,
-							attr->u.stp_state);
+		err = prestera_port_attr_stp_state_set(port, attr->orig_dev,
+						       attr->u.stp_state);
 		break;
 	case SWITCHDEV_ATTR_ID_PORT_PRE_BRIDGE_FLAGS:
 		if (attr->u.brport_flags &
Signature · 1 line
2.25.1
#1 lore raw
This patch was applied to netdev/net-next.git (refs/heads/master):

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

Quoted 8 lines · On Fri, 8 Jan 2021 21:06:22 -0800 you wrote:

The function was incorrectly named with a trailing 'r' at the end of prestera.

---
Jakub, David,

[...]

Here is the summary with links:
- [net-next] net: marvell: prestera: Correct typo

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

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html