Skip to content

Commit

Permalink
xen-blkfront: Avoid that gcc 7 warns about fall-through when building…
Browse files Browse the repository at this point in the history
… with W=1

Signed-off-by: Bart Van Assche <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Roger Pau Monn303251 <[email protected]>
Cc: [email protected]
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
KAGA-KOKO authored and axboe committed Aug 18, 2017
1 parent 3f2c940 commit ccc2225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/block/xen-blkfront.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ccc2225

Please sign in to comment.