From: linmiaohe <linmiaohe@huawei.com>
To: "axboe@kernel.dk" <axboe@kernel.dk>,
"viro@zeniv.linux.org.uk" <viro@zeniv.linux.org.uk>
Cc: "io-uring@vger.kernel.org" <io-uring@vger.kernel.org>,
"linux-fsdevel@vger.kernel.org" <linux-fsdevel@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] io_uring: Convert to use the fallthrough macro
Date: Sat, 22 Aug 2020 08:11:12 +0000 [thread overview]
Message-ID: <078dc0918bf34ddb8259e6dabb5394ac@huawei.com> (raw)
Friendly ping :)
>From: Miaohe Lin <linmiaohe@huawei.com>
>
>Convert the uses of fallthrough comments to fallthrough macro.
>
>Signed-off-by: Hongxiang Lou <louhongxiang@huawei.com>
>Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
>---
> fs/io_uring.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/fs/io_uring.c b/fs/io_uring.c index 2a3af95be4ca..77e932c25312 100644
>--- a/fs/io_uring.c
>+++ b/fs/io_uring.c
>@@ -2516,7 +2516,7 @@ static inline void io_rw_done(struct kiocb *kiocb, ssize_t ret)
> * IO with EINTR.
> */
> ret = -EINTR;
>- /* fall through */
>+ fallthrough;
> default:
> kiocb->ki_complete(kiocb, ret, 0);
> }
>--
>2.19.1
>
next reply other threads:[~2020-08-22 8:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-22 8:11 linmiaohe [this message]
2020-08-22 15:50 ` [PATCH] io_uring: Convert to use the fallthrough macro Jens Axboe
-- strict thread matches above, loose matches on Subject: below --
2020-08-08 8:47 linmiaohe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=078dc0918bf34ddb8259e6dabb5394ac@huawei.com \
--to=linmiaohe@huawei.com \
--cc=axboe@kernel.dk \
--cc=io-uring@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox