linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] io_uring: Convert to use the fallthrough macro
@ 2020-08-22  8:11 linmiaohe
  2020-08-22 15:50 ` Jens Axboe
  0 siblings, 1 reply; 3+ messages in thread
From: linmiaohe @ 2020-08-22  8:11 UTC (permalink / raw)
  To: axboe, viro; +Cc: io-uring, linux-fsdevel, linux-kernel

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
>

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

* Re: [PATCH] io_uring: Convert to use the fallthrough macro
  2020-08-22  8:11 [PATCH] io_uring: Convert to use the fallthrough macro linmiaohe
@ 2020-08-22 15:50 ` Jens Axboe
  0 siblings, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2020-08-22 15:50 UTC (permalink / raw)
  To: linmiaohe, viro; +Cc: io-uring, linux-fsdevel, linux-kernel

On 8/22/20 2:11 AM, linmiaohe wrote:
> Friendly ping :)

Huh, I thought I had applied this. I'll queue it up for 5.10, thanks.

-- 
Jens Axboe


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

* [PATCH] io_uring: Convert to use the fallthrough macro
@ 2020-08-08  8:47 linmiaohe
  0 siblings, 0 replies; 3+ messages in thread
From: linmiaohe @ 2020-08-08  8:47 UTC (permalink / raw)
  To: axboe, viro; +Cc: io-uring, linux-fsdevel, linux-kernel, linmiaohe

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


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

end of thread, other threads:[~2020-08-22 15:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-22  8:11 [PATCH] io_uring: Convert to use the fallthrough macro linmiaohe
2020-08-22 15:50 ` Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2020-08-08  8:47 linmiaohe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).