Re: [PATCH] io_uring: Convert to use the fallthrough macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Friendly ping :)

>From: Miaohe Lin <linmiaohe@xxxxxxxxxx>
>
>Convert the uses of fallthrough comments to fallthrough macro.
>
>Signed-off-by: Hongxiang Lou <louhongxiang@xxxxxxxxxx>
>Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>
>---
> 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
>



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux