Re: [PATCH net-next v2 0/3] net: dsa: voidify STP setter and FDB/VLAN add ops

From: David Miller
Date: Fri Apr 08 2016 - 16:51:09 EST


From: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 6 Apr 2016 11:55:02 -0400

> Neither the DSA layer nor the bridge code (see br_set_state) really care
> about eventual errors from STP state setters, so make it void.
>
> The DSA layer separates the prepare and commit phases of switchdev in
> two different functions. Logical errors must not happen in commit
> routines, so make them void.
>
> Changes v1 -> v2:
> - rename port_stp_update to port_stp_state_set
> - don't change code flow of bcm_sf2_sw_br_set_stp_state
> - prefer netdev_err over netdev_warn

Series applied.