* [PATCH -next] ublk_drv: remove unneeded semicolon
@ 2022-07-18 1:54 Yang Li
2022-07-18 7:38 ` Ming Lei
2022-07-18 19:13 ` Jens Axboe
0 siblings, 2 replies; 3+ messages in thread
From: Yang Li @ 2022-07-18 1:54 UTC (permalink / raw)
To: axboe; +Cc: linux-block, linux-kernel, Yang Li, Abaci Robot
Eliminate the following coccicheck warnings:
./drivers/block/ublk_drv.c:1467:2-3: Unneeded semicolon
./drivers/block/ublk_drv.c:1528:2-3: Unneeded semicolon
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
drivers/block/ublk_drv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/block/ublk_drv.c b/drivers/block/ublk_drv.c
index 52fd0af8a4f2..b005cb1354e4 100644
--- a/drivers/block/ublk_drv.c
+++ b/drivers/block/ublk_drv.c
@@ -1464,7 +1464,7 @@ static int ublk_ctrl_cmd_validate(struct io_uring_cmd *cmd,
return -EINVAL;
if (!header->addr)
return -EINVAL;
- };
+ }
return 0;
}
@@ -1525,7 +1525,7 @@ static int ublk_ctrl_uring_cmd(struct io_uring_cmd *cmd,
break;
default:
break;
- };
+ }
out:
io_uring_cmd_done(cmd, ret, 0);
pr_devel("%s: cmd done ret %d cmd_op %x, dev id %d qid %d\n",
--
2.20.1.7.g153144c
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH -next] ublk_drv: remove unneeded semicolon
2022-07-18 1:54 [PATCH -next] ublk_drv: remove unneeded semicolon Yang Li
@ 2022-07-18 7:38 ` Ming Lei
2022-07-18 19:13 ` Jens Axboe
1 sibling, 0 replies; 3+ messages in thread
From: Ming Lei @ 2022-07-18 7:38 UTC (permalink / raw)
To: Yang Li; +Cc: axboe, linux-block, linux-kernel, Abaci Robot
On Mon, Jul 18, 2022 at 09:54:31AM +0800, Yang Li wrote:
> Eliminate the following coccicheck warnings:
> ./drivers/block/ublk_drv.c:1467:2-3: Unneeded semicolon
> ./drivers/block/ublk_drv.c:1528:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
Reviewed-by: Ming Lei <ming.lei@redhat.com>
thanks,
Ming
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] ublk_drv: remove unneeded semicolon
2022-07-18 1:54 [PATCH -next] ublk_drv: remove unneeded semicolon Yang Li
2022-07-18 7:38 ` Ming Lei
@ 2022-07-18 19:13 ` Jens Axboe
1 sibling, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2022-07-18 19:13 UTC (permalink / raw)
To: yang.lee; +Cc: abaci, linux-kernel, linux-block
On Mon, 18 Jul 2022 09:54:31 +0800, Yang Li wrote:
> Eliminate the following coccicheck warnings:
> ./drivers/block/ublk_drv.c:1467:2-3: Unneeded semicolon
> ./drivers/block/ublk_drv.c:1528:2-3: Unneeded semicolon
>
>
Applied, thanks!
[1/1] ublk_drv: remove unneeded semicolon
commit: 6b1439d203a3c3d7adcf31ba70734eb95f8fa02d
Best regards,
--
Jens Axboe
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-07-18 19:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-18 1:54 [PATCH -next] ublk_drv: remove unneeded semicolon Yang Li
2022-07-18 7:38 ` Ming Lei
2022-07-18 19:13 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox