net/mlx5: fix spelling mistake "offlaods" -> "offloads"
authorColin Ian King <colin.king@canonical.com>
Wed, 4 Sep 2019 19:38:41 +0000 (20:38 +0100)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 5 Sep 2019 21:44:41 +0000 (14:44 -0700)
There is a spelling mistake in a NL_SET_ERR_MSG_MOD error message.
Fix it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/devlink.c

index 7bf7b6fbc7769b02721691a454caf1bfac0b0da8..381925c90d94ee145528beeb93bfbe2c6745092e 100644 (file)
@@ -133,7 +133,7 @@ static int mlx5_devlink_fs_mode_validate(struct devlink *devlink, u32 id,
 
                else if (eswitch_mode == MLX5_ESWITCH_OFFLOADS) {
                        NL_SET_ERR_MSG_MOD(extack,
-                                          "Software managed steering is not supported when eswitch offlaods enabled.");
+                                          "Software managed steering is not supported when eswitch offloads enabled.");
                        err = -EOPNOTSUPP;
                }
        } else {