From: Bart Van Assche Date: Thu, 17 Aug 2017 20:12:52 +0000 (-0700) Subject: skd: Avoid that gcc 7 warns about fall-through when building with W=1 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ce6882bacad06efc44ac0b324c265297d911b66c;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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: