summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2017-08-17 16:23:11 -0700
committerJens Axboe <axboe@kernel.dk>2017-08-18 08:36:58 -0600
commitccc22257aa9e486b57c169140fe8a5573e200a6f (patch)
tree36f1426499ff2ca2d81d7ef9fd1c2bbaaef2d97b
parent3f2c9405fa3a1794b44d0b856ebaad71c4d34d1f (diff)
downloadlinux-ccc22257aa9e486b57c169140fe8a5573e200a6f.tar.gz
linux-ccc22257aa9e486b57c169140fe8a5573e200a6f.tar.bz2
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>
-rw-r--r--drivers/block/xen-blkfront.c2
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);