Skip to content

Commit ced9257

Browse files
Jiri Pirkokuba-moo
authored andcommitted
net: devlink: fix a typo in function name devlink_port_new_notifiy()
Fix the typo in a name of devlink_port_new_notifiy() function. Signed-off-by: Jiri Pirko <[email protected]> Acked-by: Jakub Kicinski <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 9a79236 commit ced9257

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

net/core/devlink.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1700,9 +1700,9 @@ static int devlink_nl_cmd_port_unsplit_doit(struct sk_buff *skb,
17001700
return devlink->ops->port_unsplit(devlink, devlink_port, info->extack);
17011701
}
17021702

1703-
static int devlink_port_new_notifiy(struct devlink *devlink,
1704-
unsigned int port_index,
1705-
struct genl_info *info)
1703+
static int devlink_port_new_notify(struct devlink *devlink,
1704+
unsigned int port_index,
1705+
struct genl_info *info)
17061706
{
17071707
struct devlink_port *devlink_port;
17081708
struct sk_buff *msg;
@@ -1775,7 +1775,7 @@ static int devlink_nl_cmd_port_new_doit(struct sk_buff *skb,
17751775
if (err)
17761776
return err;
17771777

1778-
err = devlink_port_new_notifiy(devlink, new_port_index, info);
1778+
err = devlink_port_new_notify(devlink, new_port_index, info);
17791779
if (err && err != -ENODEV) {
17801780
/* Fail to send the response; destroy newly created port. */
17811781
devlink->ops->port_del(devlink, new_port_index, extack);

0 commit comments

Comments
 (0)