linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] RDMA/mlx5: remove unneeded semicolon
@ 2020-10-31 13:46 trix
  2020-11-02 12:58 ` Jason Gunthorpe
  2020-12-10 17:29 ` Jason Gunthorpe
  0 siblings, 2 replies; 3+ messages in thread
From: trix @ 2020-10-31 13:46 UTC (permalink / raw)
  To: leon, dledford, jgg; +Cc: linux-rdma, linux-kernel, Tom Rix

From: Tom Rix <trix@redhat.com>

A semicolon is not needed after a switch statement.

Signed-off-by: Tom Rix <trix@redhat.com>
---
 drivers/infiniband/hw/mlx5/qp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/hw/mlx5/qp.c b/drivers/infiniband/hw/mlx5/qp.c
index 600e056798c0..6aad0f39c50c 100644
--- a/drivers/infiniband/hw/mlx5/qp.c
+++ b/drivers/infiniband/hw/mlx5/qp.c
@@ -3102,7 +3102,7 @@ static int ib_to_mlx5_rate_map(u8 rate)
 		return 5;
 	default:
 		return rate + MLX5_STAT_RATE_OFFSET;
-	};
+	}
 
 	return 0;
 }
-- 
2.18.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] RDMA/mlx5: remove unneeded semicolon
  2020-10-31 13:46 [PATCH] RDMA/mlx5: remove unneeded semicolon trix
@ 2020-11-02 12:58 ` Jason Gunthorpe
  2020-12-10 17:29 ` Jason Gunthorpe
  1 sibling, 0 replies; 3+ messages in thread
From: Jason Gunthorpe @ 2020-11-02 12:58 UTC (permalink / raw)
  To: trix; +Cc: leon, dledford, linux-rdma, linux-kernel

On Sat, Oct 31, 2020 at 06:46:38AM -0700, trix@redhat.com wrote:
> From: Tom Rix <trix@redhat.com>
> 
> A semicolon is not needed after a switch statement.
> 
> Signed-off-by: Tom Rix <trix@redhat.com>
> ---
>  drivers/infiniband/hw/mlx5/qp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

If you are going to send these can you do the whole subsystem at once?
I don't want ane endless trickle of one line patches

Jason

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] RDMA/mlx5: remove unneeded semicolon
  2020-10-31 13:46 [PATCH] RDMA/mlx5: remove unneeded semicolon trix
  2020-11-02 12:58 ` Jason Gunthorpe
@ 2020-12-10 17:29 ` Jason Gunthorpe
  1 sibling, 0 replies; 3+ messages in thread
From: Jason Gunthorpe @ 2020-12-10 17:29 UTC (permalink / raw)
  To: trix; +Cc: leon, dledford, linux-rdma, linux-kernel

On Sat, Oct 31, 2020 at 06:46:38AM -0700, trix@redhat.com wrote:
> From: Tom Rix <trix@redhat.com>
> 
> A semicolon is not needed after a switch statement.
> 
> Signed-off-by: Tom Rix <trix@redhat.com>
> ---
>  drivers/infiniband/hw/mlx5/qp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to for-next

Jason

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-10 17:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-31 13:46 [PATCH] RDMA/mlx5: remove unneeded semicolon trix
2020-11-02 12:58 ` Jason Gunthorpe
2020-12-10 17:29 ` Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).