projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a254d98
)
bfq: Annotate fall-through in a switch statement
author
Bart Van Assche
<bart.vanassche@wdc.com>
Wed, 30 Aug 2017 18:42:07 +0000
(11:42 -0700)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 1 Sep 2017 19:56:36 +0000
(13:56 -0600)
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>
block/bfq-iosched.c
patch
|
blob
|
blame
|
history
diff --git
a/block/bfq-iosched.c
b/block/bfq-iosched.c
index 8f3d22330d648476c0a8119483d81951f85d9d5e..856f4199a4700cc2938ba36d4ce23717abb8f14a 100644
(file)
--- 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.