fs/signalfd: annotate implicit fall through
PATCH 1/1 fs/signalfd: annotate implicit fall through
There is a plan to build the kernel with -Wimplicit-fallthrough and this place in the code produced a warning (W=1).
This commit remove the following warning:
fs/signalfd.c:178:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
Signed-off-by Mathieu Malaterre <[email protected]>
--- fs/signalfd.c | 1 + 1 file changed, 1 insertion(+)
fs/signalfd.c +1 -0
@@ -176,6 +176,7 @@ static ssize_t signalfd_dequeue(struct signalfd_ctx *ctx, kernel_siginfo_t *infoif (!nonblock)break ; ret = -EAGAIN ; +/* fall through */ default :spin_unlock_irq (¤t->sighand->siglock);return ret;
Signature · 1 line
2.19.2