From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 29 Mar 2011 23:27:22 -0700 From: Stephen Hemminger Message-ID: <20110329232722.31357223@s6510> In-Reply-To: <1301466207-16770-1-git-send-email-dongdong.deng@windriver.com> References: <1301466207-16770-1-git-send-email-dongdong.deng@windriver.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Bridge] [PATCH] bridge: return value for br_stp_recalculate_bridge_id() List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Dongdong Deng Cc: netdev@vger.kernel.org, bridge@lists.linux-foundation.org, davem@davemloft.net On Wed, 30 Mar 2011 14:23:27 +0800 Dongdong Deng 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 Patch has already been submitted and acke'd for this.