mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
cfq: Annotate fall-through in a switch statement
This patch avoids that gcc complains about fall-through when building with W=1. Signed-off-by: Bart Van Assche <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
1 parent
2887e41b91
commit
9b4f43460d
1 file changed
+1
@@ -3666,6 +3666,7 @@ static void cfq_init_prio_data(struct cfq_queue *cfqq, struct cfq_io_cq *cic)
|
||||
switch (ioprio_class) {
|
||||
default:
|
||||
printk(KERN_ERR "cfq: bad prio %x\n", ioprio_class);
|
||||
/* fall through */
|
||||
case IOPRIO_CLASS_NONE:
|
||||
/*
|
||||
* no prio set, inherit CPU scheduling settings
|
||||
|
||||
Reference in new issue
Block a user