Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9b4f4346 authored by Bart Van Assche's avatar Bart Van Assche Committed by Jens Axboe
Browse files

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: default avatarBart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 2887e41b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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