public inbox for [email protected]
 help / color / mirror / Atom feed
From: linmiaohe <[email protected]>
To: "[email protected]" <[email protected]>,
	"[email protected]" <[email protected]>
Cc: "[email protected]" <[email protected]>,
	"[email protected]" <[email protected]>,
	"[email protected]" <[email protected]>
Subject: Re: [PATCH] io_uring: Convert to use the fallthrough macro
Date: Sat, 22 Aug 2020 08:11:12 +0000	[thread overview]
Message-ID: <[email protected]> (raw)

Friendly ping :)

>From: Miaohe Lin <[email protected]>
>
>Convert the uses of fallthrough comments to fallthrough macro.
>
>Signed-off-by: Hongxiang Lou <[email protected]>
>Signed-off-by: Miaohe Lin <[email protected]>
>---
> 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
>

             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 \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /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