]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mlxsw: spectrum_acl: Fix rul/rule typo
authorJiri Pirko <jiri@mellanox.com>
Mon, 28 Jan 2019 12:02:09 +0000 (12:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2019 18:43:15 +0000 (10:43 -0800)
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c

index bd40ed065f3e860662797c0d572478e030fd65ae..a69e3462b65eddc9f0e8dd2904edabf43df45c67 100644 (file)
@@ -805,7 +805,7 @@ static void mlxsw_sp_acl_rule_activity_work_schedule(struct mlxsw_sp_acl *acl)
                               msecs_to_jiffies(interval));
 }
 
-static void mlxsw_sp_acl_rul_activity_update_work(struct work_struct *work)
+static void mlxsw_sp_acl_rule_activity_update_work(struct work_struct *work)
 {
        struct mlxsw_sp_acl *acl = container_of(work, struct mlxsw_sp_acl,
                                                rule_activity_update.dw.work);
@@ -884,7 +884,7 @@ int mlxsw_sp_acl_init(struct mlxsw_sp *mlxsw_sp)
 
        /* Create the delayed work for the rule activity_update */
        INIT_DELAYED_WORK(&acl->rule_activity_update.dw,
-                         mlxsw_sp_acl_rul_activity_update_work);
+                         mlxsw_sp_acl_rule_activity_update_work);
        acl->rule_activity_update.interval = MLXSW_SP_ACL_RULE_ACTIVITY_UPDATE_PERIOD_MS;
        mlxsw_core_schedule_dw(&acl->rule_activity_update.dw, 0);
        return 0;