mlxsw: spectrum_acl: Fix rul/rule typo
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>
This commit is contained in:
parent
038418eeb9
commit
3021afe168
@ -805,7 +805,7 @@ static void mlxsw_sp_acl_rule_activity_work_schedule(struct mlxsw_sp_acl *acl)
|
|||||||
msecs_to_jiffies(interval));
|
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,
|
struct mlxsw_sp_acl *acl = container_of(work, struct mlxsw_sp_acl,
|
||||||
rule_activity_update.dw.work);
|
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 */
|
/* Create the delayed work for the rule activity_update */
|
||||||
INIT_DELAYED_WORK(&acl->rule_activity_update.dw,
|
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;
|
acl->rule_activity_update.interval = MLXSW_SP_ACL_RULE_ACTIVITY_UPDATE_PERIOD_MS;
|
||||||
mlxsw_core_schedule_dw(&acl->rule_activity_update.dw, 0);
|
mlxsw_core_schedule_dw(&acl->rule_activity_update.dw, 0);
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user