* [PATCH net-next] mlxsw: spectrum_buffers: remove unneeded semicolon
@ 2019-10-25 9:09 YueHaibing
2019-10-25 9:17 ` Jiri Pirko
2019-10-28 23:37 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: YueHaibing @ 2019-10-25 9:09 UTC (permalink / raw)
To: jiri, idosch, davem; +Cc: netdev, linux-kernel, YueHaibing
Remove excess semicolon after closing parenthesis.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c
index b9eeae37..5d77cb3 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c
+++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c
@@ -1021,12 +1021,12 @@ int mlxsw_sp_sb_pool_set(struct mlxsw_core *mlxsw_core,
if (pr->freeze_mode && pr->mode != mode) {
NL_SET_ERR_MSG_MOD(extack, "Changing this pool's threshold type is forbidden");
return -EINVAL;
- };
+ }
if (pr->freeze_size && pr->size != size) {
NL_SET_ERR_MSG_MOD(extack, "Changing this pool's size is forbidden");
return -EINVAL;
- };
+ }
return mlxsw_sp_sb_pr_write(mlxsw_sp, pool_index, mode,
pool_size, false);
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] mlxsw: spectrum_buffers: remove unneeded semicolon
2019-10-25 9:09 [PATCH net-next] mlxsw: spectrum_buffers: remove unneeded semicolon YueHaibing
@ 2019-10-25 9:17 ` Jiri Pirko
2019-10-28 23:37 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Jiri Pirko @ 2019-10-25 9:17 UTC (permalink / raw)
To: YueHaibing; +Cc: jiri, idosch, davem, netdev, linux-kernel
Fri, Oct 25, 2019 at 11:09:48AM CEST, yuehaibing@huawei.com wrote:
>Remove excess semicolon after closing parenthesis.
>
>Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] mlxsw: spectrum_buffers: remove unneeded semicolon
2019-10-25 9:09 [PATCH net-next] mlxsw: spectrum_buffers: remove unneeded semicolon YueHaibing
2019-10-25 9:17 ` Jiri Pirko
@ 2019-10-28 23:37 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2019-10-28 23:37 UTC (permalink / raw)
To: yuehaibing; +Cc: jiri, idosch, netdev, linux-kernel
From: YueHaibing <yuehaibing@huawei.com>
Date: Fri, 25 Oct 2019 17:09:48 +0800
> Remove excess semicolon after closing parenthesis.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-28 23:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-25 9:09 [PATCH net-next] mlxsw: spectrum_buffers: remove unneeded semicolon YueHaibing
2019-10-25 9:17 ` Jiri Pirko
2019-10-28 23:37 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.