Commit f6d85f04 authored by Mathieu Malaterre's avatar Mathieu Malaterre Committed by Jens Axboe

blkcg: 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:

  kernel/trace/blktrace.c:725:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
Signed-off-by: default avatarMathieu Malaterre <malat@debian.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 602d674c
...@@ -723,6 +723,7 @@ int blk_trace_ioctl(struct block_device *bdev, unsigned cmd, char __user *arg) ...@@ -723,6 +723,7 @@ int blk_trace_ioctl(struct block_device *bdev, unsigned cmd, char __user *arg)
#endif #endif
case BLKTRACESTART: case BLKTRACESTART:
start = 1; start = 1;
/* fall through */
case BLKTRACESTOP: case BLKTRACESTOP:
ret = __blk_trace_startstop(q, start); ret = __blk_trace_startstop(q, start);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment