Message ID | 1548797004-45137-1-git-send-email-xiangxia.m.yue@gmail.com |
---|---|
State | Accepted |
Delegated to: | David Miller |
Headers | show |
Series | [net-next,v2,1/1] net/mlx5: Fix code style issue in mlx driver | expand |
On Thu, Jan 31, 2019 at 5:20 PM <xiangxia.m.yue@gmail.com> wrote: > > From: Tonghao Zhang <xiangxia.m.yue@gmail.com> > > Add the tab before '}' and keep the code style consistent. > > Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com> > Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com> Acked-by: Saeed Mahameed <saeedm@mellanox.com> Dave, you can take this patch to net-next. Thanks, Saeed.
From: Saeed Mahameed <saeedm@dev.mellanox.co.il> Date: Mon, 4 Feb 2019 15:26:51 -0800 > On Thu, Jan 31, 2019 at 5:20 PM <xiangxia.m.yue@gmail.com> wrote: >> >> From: Tonghao Zhang <xiangxia.m.yue@gmail.com> >> >> Add the tab before '}' and keep the code style consistent. >> >> Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com> >> Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com> > > Acked-by: Saeed Mahameed <saeedm@mellanox.com> > > Dave, you can take this patch to net-next. Great, applied.
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c b/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c index 79f122b..9c5aac1 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/fs_core.c @@ -618,7 +618,8 @@ static struct mlx5_flow_group *alloc_flow_group(struct mlx5_flow_steering *steer if (ret) { kmem_cache_free(steering->fgs_cache, fg); return ERR_PTR(ret); -} + } + ida_init(&fg->fte_allocator); fg->mask.match_criteria_enable = match_criteria_enable; memcpy(&fg->mask.match_criteria, match_criteria,