Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21e3d2dd authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

devlink: rename devlink_eswitch_fill to devlink_nl_eswitch_fill



Be aligned with the rest of the file and name the helper function
accordingly.

Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent adf200f3
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -1392,7 +1392,7 @@ static int devlink_nl_cmd_sb_occ_max_clear_doit(struct sk_buff *skb,
	return -EOPNOTSUPP;
}

static int devlink_eswitch_fill(struct sk_buff *msg, struct devlink *devlink,
static int devlink_nl_eswitch_fill(struct sk_buff *msg, struct devlink *devlink,
				   enum devlink_command cmd, u32 portid,
				   u32 seq, int flags)
{
@@ -1450,7 +1450,7 @@ static int devlink_nl_cmd_eswitch_get_doit(struct sk_buff *skb,
	if (!msg)
		return -ENOMEM;

	err = devlink_eswitch_fill(msg, devlink, DEVLINK_CMD_ESWITCH_GET,
	err = devlink_nl_eswitch_fill(msg, devlink, DEVLINK_CMD_ESWITCH_GET,
				      info->snd_portid, info->snd_seq, 0);

	if (err) {