diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-08-30 11:42:07 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-09-01 13:56:36 -0600 |
commit | fa393d1b9c6326c227a24915a6f00721a288bde9 (patch) | |
tree | dae6d27af9f38e63b9d816bbfa9c574417f839f9 /block | |
parent | a254d989f31df97be9ee07a13b9b20087d0d3106 (diff) | |
download | linux-fa393d1b9c6326c227a24915a6f00721a288bde9.tar.bz2 |
bfq: Annotate fall-through in a switch statement
This patch avoids that gcc 7 issues a warning about fall-through
when building with W=1.
Acked-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r-- | block/bfq-iosched.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/bfq-iosched.c b/block/bfq-iosched.c index 8f3d22330d64..856f4199a470 100644 --- a/block/bfq-iosched.c +++ b/block/bfq-iosched.c @@ -3780,6 +3780,7 @@ bfq_set_next_ioprio_data(struct bfq_queue *bfqq, struct bfq_io_cq *bic) default: dev_err(bfqq->bfqd->queue->backing_dev_info->dev, "bfq: bad prio class %d\n", ioprio_class); + /* fall through */ case IOPRIO_CLASS_NONE: /* * No prio set, inherit CPU scheduling settings. |