Commit 7a25c6c0 authored by Florian Fainelli's avatar Florian Fainelli Committed by David S. Miller

rocker: Add missing break for PRE_BRIDGE_FLAGS

A missing break keyword should have been added after adding support for
PRE_BRIDGE_FLAGS.
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Fixes: 93700458 ("rocker: Check Handle PORT_PRE_BRIDGE_FLAGS")
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d075961b
...@@ -2083,6 +2083,7 @@ static int rocker_port_attr_set(struct net_device *dev, ...@@ -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, err = rocker_world_port_attr_pre_bridge_flags_set(rocker_port,
attr->u.brport_flags, attr->u.brport_flags,
trans); trans);
break;
case SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS: case SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS:
err = rocker_world_port_attr_bridge_flags_set(rocker_port, err = rocker_world_port_attr_bridge_flags_set(rocker_port,
attr->u.brport_flags, attr->u.brport_flags,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment