Skip to content

Commit 7499a28

Browse files
GustavoARSilvadavem330
authored andcommitted
xen-netback: mark expected switch fall-through
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Warning level 3 was used: -Wimplicit-fallthrough=3 This patch is part of the ongoing efforts to enabling -Wimplicit-fallthrough. Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 671f2f9 commit 7499a28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/xen-netback/xenbus.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ static void frontend_changed(struct xenbus_device *dev,
655655
set_backend_state(be, XenbusStateClosed);
656656
if (xenbus_dev_is_online(dev))
657657
break;
658-
/* fall through if not online */
658+
/* fall through - if not online */
659659
case XenbusStateUnknown:
660660
set_backend_state(be, XenbusStateClosed);
661661
device_unregister(&dev->dev);

0 commit comments

Comments
 (0)