skd: Avoid that gcc 7 warns about fall-through when building with W=1
authorBart Van Assche <bart.vanassche@wdc.com>
Thu, 17 Aug 2017 20:12:52 +0000 (13:12 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Aug 2017 14:45:29 +0000 (08:45 -0600)
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/skd_main.c

index aa6bfd1..1d0ad31 100644 (file)
@@ -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: