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

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

Signed-off-by: NBart Van Assche <bart.vanassche@wdc.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Roger Pau Monn303251 <roger.pau@citrix.com>
Cc: xen-devel@lists.xenproject.org
Signed-off-by: NJens Axboe <axboe@kernel.dk>
上级 3f2c9405
......@@ -2456,7 +2456,7 @@ static void blkback_changed(struct xenbus_device *dev,
case XenbusStateClosed:
if (dev->state == XenbusStateClosed)
break;
/* Missed the backend's Closing state -- fallthrough */
/* fall through */
case XenbusStateClosing:
if (info)
blkfront_closing(info);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册