rocker: Add missing break for PRE_BRIDGE_FLAGS
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 22 Feb 2019 02:26:46 +0000 (18:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Feb 2019 05:29:23 +0000 (21:29 -0800)
A missing break keyword should have been added after adding support for
PRE_BRIDGE_FLAGS.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 93700458ff63 ("rocker: Check Handle PORT_PRE_BRIDGE_FLAGS")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker_main.c

index 8200fbf..309a6bf 100644 (file)
@@ -2083,6 +2083,7 @@ static int rocker_port_attr_set(struct net_device *dev,
                err = rocker_world_port_attr_pre_bridge_flags_set(rocker_port,
                                                              attr->u.brport_flags,
                                                              trans);
+               break;
        case SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS:
                err = rocker_world_port_attr_bridge_flags_set(rocker_port,
                                                              attr->u.brport_flags,