Message ID | 20230505004925.76301-1-yang.lee@linux.alibaba.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [-next] cifs: Remove unneeded semicolon | expand |
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 >
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",
./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(-)