mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] cifs: Remove unneeded semicolon
@ 2023-05-05  0:49 Yang Li
  2023-05-05  9:43 ` Steve French
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2023-05-05  0:49 UTC (permalink / raw)
  To: sfrench
  Cc: pc, lsahlber, sprasad, tom, linux-cifs, samba-technical,
	linux-kernel, Yang Li, Abaci Robot

./fs/cifs/smb2pdu.c:4140:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4863
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 fs/cifs/smb2pdu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c
index 8e7c15e2fd91..e33ca0d33906 100644
--- a/fs/cifs/smb2pdu.c
+++ b/fs/cifs/smb2pdu.c
@@ -4137,7 +4137,7 @@ smb2_readv_callback(struct mid_q_entry *mid)
 	if (rdata->got_bytes) {
 		rqst.rq_iter	  = rdata->iter;
 		rqst.rq_iter_size = iov_iter_count(&rdata->iter);
-	};
+	}
 
 	WARN_ONCE(rdata->server != mid->server,
 		  "rdata server %p != mid server %p",
-- 
2.20.1.7.g153144c


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

* Re: [PATCH -next] cifs: Remove unneeded semicolon
  2023-05-05  0:49 [PATCH -next] cifs: Remove unneeded semicolon Yang Li
@ 2023-05-05  9:43 ` Steve French
  0 siblings, 0 replies; 2+ messages in thread
From: Steve French @ 2023-05-05  9:43 UTC (permalink / raw)
  To: Yang Li
  Cc: sfrench, pc, lsahlber, sprasad, tom, linux-cifs, samba-technical,
	linux-kernel, Abaci Robot

merged into cifs-2.6.git for-next

On Thu, May 4, 2023 at 8:00 PM Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> ./fs/cifs/smb2pdu.c:4140:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4863
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  fs/cifs/smb2pdu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c
> index 8e7c15e2fd91..e33ca0d33906 100644
> --- a/fs/cifs/smb2pdu.c
> +++ b/fs/cifs/smb2pdu.c
> @@ -4137,7 +4137,7 @@ smb2_readv_callback(struct mid_q_entry *mid)
>         if (rdata->got_bytes) {
>                 rqst.rq_iter      = rdata->iter;
>                 rqst.rq_iter_size = iov_iter_count(&rdata->iter);
> -       };
> +       }
>
>         WARN_ONCE(rdata->server != mid->server,
>                   "rdata server %p != mid server %p",
> --
> 2.20.1.7.g153144c
>


-- 
Thanks,

Steve

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

end of thread, other threads:[~2023-05-05  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-05  0:49 [PATCH -next] cifs: Remove unneeded semicolon Yang Li
2023-05-05  9:43 ` Steve French

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®