Skip to contentSkip to conversation

io_uring: Convert to use the fallthrough macro

PATCH linmiaohe 2 participants 2 messages Aug 22, 2020

Subsystems (2)
lore
Share & tools
lore

linmiaohe

author
#0 lore raw

Friendly ping :)

Quoted 25 lines

From: Miaohe Lin <[email protected]>

Convert the uses of fallthrough comments to fallthrough macro.

---
fs/io_uring.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
fs/io_uring.c +1 -2
@@ -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

maintainer
#1 lore raw
Quoted 1 line · linmiaohe

Friendly ping :)

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

Signature · 1 line
Jens Axboe