提交 ce6882ba 编写于 作者: B Bart Van Assche 提交者: Jens Axboe

skd: Avoid that gcc 7 warns about fall-through when building with W=1

Signed-off-by: NBart 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: NJens Axboe <axboe@kernel.dk>
上级 5477e1b5
...@@ -2340,7 +2340,7 @@ static void skd_resolve_req_exception(struct skd_device *skdev, ...@@ -2340,7 +2340,7 @@ static void skd_resolve_req_exception(struct skd_device *skdev,
blk_requeue_request(skdev->queue, skreq->req); blk_requeue_request(skdev->queue, skreq->req);
break; break;
} }
/* fall through to report error */ /* fall through */
case SKD_CHECK_STATUS_REPORT_ERROR: case SKD_CHECK_STATUS_REPORT_ERROR:
default: default:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册