From ce6882bacad06efc44ac0b324c265297d911b66c Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 17 Aug 2017 13:12:52 -0700 Subject: [PATCH] skd: Avoid that gcc 7 warns about fall-through when building with W=1 Signed-off-by: Bart Van Assche Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Johannes Thumshirn Signed-off-by: Jens Axboe --- drivers/block/skd_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/skd_main.c b/drivers/block/skd_main.c index aa6bfd1391da..1d0ad31d2256 100644 --- a/drivers/block/skd_main.c +++ b/drivers/block/skd_main.c @@ -2340,7 +2340,7 @@ static void skd_resolve_req_exception(struct skd_device *skdev, blk_requeue_request(skdev->queue, skreq->req); break; } - /* fall through to report error */ + /* fall through */ case SKD_CHECK_STATUS_REPORT_ERROR: default: -- 2.11.0