From: Bart Van Assche Date: Thu, 17 Aug 2017 23:23:11 +0000 (-0700) Subject: xen-blkfront: Avoid that gcc 7 warns about fall-through when building with W=1 X-Git-Tag: v4.14-rc1~81^2~127 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ccc22257aa9e486b57c169140fe8a5573e200a6f;p=thirdparty%2Fkernel%2Flinux.git xen-blkfront: Avoid that gcc 7 warns about fall-through when building with W=1 Signed-off-by: Bart Van Assche Cc: Konrad Rzeszutek Wilk Cc: Roger Pau Monn303251 Cc: xen-devel@lists.xenproject.org Signed-off-by: Jens Axboe --- diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index 98e34e4c62b8b..270019e3e5d80 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);