linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] drivers/block: Remove unneeded semicolon
@ 2019-11-28  3:09 zhengbin
  2019-11-28  3:09 ` [PATCH 1/3] drbd: " zhengbin
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: zhengbin @ 2019-11-28  3:09 UTC (permalink / raw)
  To: philipp.reisner, lars.ellenberg, axboe, drbd-dev, linux-block; +Cc: zhengbin13

zhengbin (3):
  drbd: Remove unneeded semicolon
  block: sunvdc: Remove unneeded semicolon
  ataflop: Remove unneeded semicolon

 drivers/block/ataflop.c       | 2 +-
 drivers/block/drbd/drbd_req.c | 2 +-
 drivers/block/sunvdc.c        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

--
2.7.4


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

* [PATCH 1/3] drbd: Remove unneeded semicolon
  2019-11-28  3:09 [PATCH 0/3] drivers/block: Remove unneeded semicolon zhengbin
@ 2019-11-28  3:09 ` zhengbin
  2019-11-28  3:09 ` [PATCH 2/3] block: sunvdc: " zhengbin
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: zhengbin @ 2019-11-28  3:09 UTC (permalink / raw)
  To: philipp.reisner, lars.ellenberg, axboe, drbd-dev, linux-block; +Cc: zhengbin13

Fixes coccicheck warning:

drivers/block/drbd/drbd_req.c:887:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
---
 drivers/block/drbd/drbd_req.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/drbd/drbd_req.c b/drivers/block/drbd/drbd_req.c
index f86cea4..840c3ae 100644
--- a/drivers/block/drbd/drbd_req.c
+++ b/drivers/block/drbd/drbd_req.c
@@ -884,7 +884,7 @@ int __req_mod(struct drbd_request *req, enum drbd_req_event what,
 		start_new_tl_epoch(connection);
 		mod_rq_state(req, m, 0, RQ_NET_OK|RQ_NET_DONE);
 		break;
-	};
+	}

 	return rv;
 }
--
2.7.4


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

* [PATCH 2/3] block: sunvdc: Remove unneeded semicolon
  2019-11-28  3:09 [PATCH 0/3] drivers/block: Remove unneeded semicolon zhengbin
  2019-11-28  3:09 ` [PATCH 1/3] drbd: " zhengbin
@ 2019-11-28  3:09 ` zhengbin
  2019-11-28  3:09 ` [PATCH 3/3] ataflop: " zhengbin
  2019-11-28 17:41 ` [PATCH 0/3] drivers/block: " Jens Axboe
  3 siblings, 0 replies; 5+ messages in thread
From: zhengbin @ 2019-11-28  3:09 UTC (permalink / raw)
  To: philipp.reisner, lars.ellenberg, axboe, drbd-dev, linux-block; +Cc: zhengbin13

Fixes coccicheck warning:

drivers/block/sunvdc.c:637:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
---
 drivers/block/sunvdc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/sunvdc.c b/drivers/block/sunvdc.c
index 6b2fd63..571612e 100644
--- a/drivers/block/sunvdc.c
+++ b/drivers/block/sunvdc.c
@@ -634,7 +634,7 @@ static int generic_request(struct vdc_port *port, u8 op, void *buf, int len)
 	case VD_OP_GET_EFI:
 	case VD_OP_SET_EFI:
 		return -EOPNOTSUPP;
-	};
+	}

 	map_perm |= LDC_MAP_SHADOW | LDC_MAP_DIRECT | LDC_MAP_IO;

--
2.7.4


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

* [PATCH 3/3] ataflop: Remove unneeded semicolon
  2019-11-28  3:09 [PATCH 0/3] drivers/block: Remove unneeded semicolon zhengbin
  2019-11-28  3:09 ` [PATCH 1/3] drbd: " zhengbin
  2019-11-28  3:09 ` [PATCH 2/3] block: sunvdc: " zhengbin
@ 2019-11-28  3:09 ` zhengbin
  2019-11-28 17:41 ` [PATCH 0/3] drivers/block: " Jens Axboe
  3 siblings, 0 replies; 5+ messages in thread
From: zhengbin @ 2019-11-28  3:09 UTC (permalink / raw)
  To: philipp.reisner, lars.ellenberg, axboe, drbd-dev, linux-block; +Cc: zhengbin13

Fixes coccicheck warning:

drivers/block/ataflop.c:860:53-54: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
---
 drivers/block/ataflop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/ataflop.c b/drivers/block/ataflop.c
index bd7d3bb..1553d41 100644
--- a/drivers/block/ataflop.c
+++ b/drivers/block/ataflop.c
@@ -857,7 +857,7 @@ static void fd_calibrate( void )
 	}

 	if (ATARIHW_PRESENT(FDCSPEED))
-		dma_wd.fdc_speed = 0; 	/* always seek with 8 Mhz */;
+		dma_wd.fdc_speed = 0;   /* always seek with 8 Mhz */
 	DPRINT(("fd_calibrate\n"));
 	SET_IRQ_HANDLER( fd_calibrate_done );
 	/* we can't verify, since the speed may be incorrect */
--
2.7.4


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

* Re: [PATCH 0/3] drivers/block: Remove unneeded semicolon
  2019-11-28  3:09 [PATCH 0/3] drivers/block: Remove unneeded semicolon zhengbin
                   ` (2 preceding siblings ...)
  2019-11-28  3:09 ` [PATCH 3/3] ataflop: " zhengbin
@ 2019-11-28 17:41 ` Jens Axboe
  3 siblings, 0 replies; 5+ messages in thread
From: Jens Axboe @ 2019-11-28 17:41 UTC (permalink / raw)
  To: zhengbin, philipp.reisner, lars.ellenberg, drbd-dev, linux-block

On 11/27/19 7:09 PM, zhengbin wrote:
> zhengbin (3):
>    drbd: Remove unneeded semicolon
>    block: sunvdc: Remove unneeded semicolon
>    ataflop: Remove unneeded semicolon
> 
>   drivers/block/ataflop.c       | 2 +-
>   drivers/block/drbd/drbd_req.c | 2 +-
>   drivers/block/sunvdc.c        | 2 +-
>   3 files changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

-- 
Jens Axboe


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

end of thread, other threads:[~2019-11-28 17:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-28  3:09 [PATCH 0/3] drivers/block: Remove unneeded semicolon zhengbin
2019-11-28  3:09 ` [PATCH 1/3] drbd: " zhengbin
2019-11-28  3:09 ` [PATCH 2/3] block: sunvdc: " zhengbin
2019-11-28  3:09 ` [PATCH 3/3] ataflop: " zhengbin
2019-11-28 17:41 ` [PATCH 0/3] drivers/block: " Jens Axboe

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).