diff options
author | Bart Van Assche | 2017-08-18 01:23:11 +0200 |
---|---|---|
committer | Jens Axboe | 2017-08-18 16:36:58 +0200 |
commit | ccc22257aa9e486b57c169140fe8a5573e200a6f (patch) | |
tree | 36f1426499ff2ca2d81d7ef9fd1c2bbaaef2d97b /drivers/block/xen-blkfront.c | |
parent | xen-blkback: Avoid that gcc 7 warns about fall-through when building with W=1 (diff) | |
download | kernel-qcow2-linux-ccc22257aa9e486b57c169140fe8a5573e200a6f.tar.gz kernel-qcow2-linux-ccc22257aa9e486b57c169140fe8a5573e200a6f.tar.xz kernel-qcow2-linux-ccc22257aa9e486b57c169140fe8a5573e200a6f.zip |
xen-blkfront: Avoid that gcc 7 warns about fall-through when building with W=1
Signed-off-by: Bart 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: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/xen-blkfront.c')
-rw-r--r-- | drivers/block/xen-blkfront.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index 98e34e4c62b8..270019e3e5d8 100644 --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c @@ -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); |