Skip to contentSkip to conversation

signalfd: Convert to use the preferred fallthrough macro

PATCH New Miaohe Lin 1 participant 1 message Aug 16, 2020 VFS

lore
Share & tools
lore

Miaohe Lin

author
#0 lore raw

PATCH 1/1 signalfd: Convert to use the preferred fallthrough macro

Convert the uses of fallthrough comments to fallthrough macro.

---
 fs/signalfd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/signalfd.c +1 -1
index 5b78719be445..456046e15873 100644
@@ -176,7 +176,7 @@ static ssize_t signalfd_dequeue(struct signalfd_ctx *ctx, kernel_siginfo_t *info
 		if (!nonblock)
 			break;
 		ret = -EAGAIN;
-		/* fall through */
+		fallthrough;
 	default:
 		spin_unlock_irq(&current->sighand->siglock);
 		return ret;
Signature · 1 line
2.19.1