diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2020-01-09 22:08:20 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-12 01:30:24 +0300 |
commit | b0efcae5e12b341e569f971ccd193e31f1d0ffa8 (patch) | |
tree | 2b6d6bfd8ad8a76f62a56bfc7881679552b0c021 /drivers/net/netdevsim | |
parent | a5c3a7c0ce1a1cfab15404018933775d7222a517 (diff) | |
download | linux-b0efcae5e12b341e569f971ccd193e31f1d0ffa8.tar.xz |
devlink: correct misspelling of snapshot
The function to obtain a unique snapshot id was mistakenly typo'd as
devlink_region_shapshot_id_get. Fix this typo by renaming the function
and all of its users.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netdevsim')
-rw-r--r-- | drivers/net/netdevsim/dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netdevsim/dev.c b/drivers/net/netdevsim/dev.c index 059711edfc61..4b39aba2e9c4 100644 --- a/drivers/net/netdevsim/dev.c +++ b/drivers/net/netdevsim/dev.c @@ -53,7 +53,7 @@ static ssize_t nsim_dev_take_snapshot_write(struct file *file, get_random_bytes(dummy_data, NSIM_DEV_DUMMY_REGION_SIZE); - id = devlink_region_shapshot_id_get(priv_to_devlink(nsim_dev)); + id = devlink_region_snapshot_id_get(priv_to_devlink(nsim_dev)); err = devlink_region_snapshot_create(nsim_dev->dummy_region, dummy_data, id, kfree); if (err) { |