diff options
author | Jiri Pirko <jiri@mellanox.com> | 2017-02-09 15:54:34 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-10 14:43:00 -0500 |
commit | 21e3d2dd4a19f842e7d134c341eb584970ff3b32 (patch) | |
tree | 3adb2f5bac3e94d701a03dfcb0f63c6d3261e072 /net/core/devlink.c | |
parent | adf200f31c000d707e4afe238ed1d1199e0cce7c (diff) |
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: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/devlink.c')
-rw-r--r-- | net/core/devlink.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/core/devlink.c b/net/core/devlink.c index 7aa8e5369dc5..f36192406f9a 100644 --- a/net/core/devlink.c +++ b/net/core/devlink.c @@ -1392,9 +1392,9 @@ 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, - enum devlink_command cmd, u32 portid, - u32 seq, int flags) +static int devlink_nl_eswitch_fill(struct sk_buff *msg, struct devlink *devlink, + enum devlink_command cmd, u32 portid, + u32 seq, int flags) { const struct devlink_ops *ops = devlink->ops; void *hdr; @@ -1450,8 +1450,8 @@ 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, - info->snd_portid, info->snd_seq, 0); + err = devlink_nl_eswitch_fill(msg, devlink, DEVLINK_CMD_ESWITCH_GET, + info->snd_portid, info->snd_seq, 0); if (err) { nlmsg_free(msg); |