Skip to content

Commit f6d85f0

Browse files
malaterreaxboe
authored andcommitted
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>
1 parent 602d674 commit f6d85f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/trace/blktrace.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,7 @@ int blk_trace_ioctl(struct block_device *bdev, unsigned cmd, char __user *arg)
723723
#endif
724724
case BLKTRACESTART:
725725
start = 1;
726+
/* fall through */
726727
case BLKTRACESTOP:
727728
ret = __blk_trace_startstop(q, start);
728729
break;

0 commit comments

Comments
 (0)