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-Url: https://git.stricted.de/?a=commitdiff_plain;h=ccc22257aa9e486b57c169140fe8a5573e200a6f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 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);