1
0
Fork 0

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: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
hifive-unleashed-5.1
Mathieu Malaterre 2019-01-14 21:31:13 +01:00 committed by Jens Axboe
parent 602d674ce9
commit f6d85f04e2
1 changed files with 1 additions and 0 deletions

View File

@ -723,6 +723,7 @@ int blk_trace_ioctl(struct block_device *bdev, unsigned cmd, char __user *arg)
#endif
case BLKTRACESTART:
start = 1;
/* fall through */
case BLKTRACESTOP:
ret = __blk_trace_startstop(q, start);
break;