Commit ccc22257 authored by Bart Van Assche's avatar Bart Van Assche Committed by Jens Axboe

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

Signed-off-by: default avatarBart 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: default avatarJens Axboe <axboe@kernel.dk>
parent 3f2c9405
...@@ -2456,7 +2456,7 @@ static void blkback_changed(struct xenbus_device *dev, ...@@ -2456,7 +2456,7 @@ static void blkback_changed(struct xenbus_device *dev,
case XenbusStateClosed: case XenbusStateClosed:
if (dev->state == XenbusStateClosed) if (dev->state == XenbusStateClosed)
break; break;
/* Missed the backend's Closing state -- fallthrough */ /* fall through */
case XenbusStateClosing: case XenbusStateClosing:
if (info) if (info)
blkfront_closing(info); blkfront_closing(info);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment