[Bridge] [PATCH] bridge: return value for br_stp_recalculate_bridge_id()

Stephen Hemminger shemminger at vyatta.com
Tue Mar 29 23:27:22 PDT 2011


On Wed, 30 Mar 2011 14:23:27 +0800
Dongdong Deng <dongdong.deng at windriver.com> wrote:

> Return 'false' for "user has set a mac addr" case in
> br_stp_recalculate_bridge_id() function.
> 
> and this could address the following build warning:
> 
> net/bridge/br_stp_if.c: In function br_stp_recalculate_bridge_id:
> net/bridge/br_stp_if.c:216: warning: return with no value, in function
> returning non-void
> 
> Signed-off-by: Dongdong Deng <dongdong.deng at windriver.com>

Patch has already been submitted and acke'd for this.


More information about the Bridge mailing list