Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751599AbcDFQTu (ORCPT ); Wed, 6 Apr 2016 12:19:50 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:49322 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750748AbcDFQTt (ORCPT ); Wed, 6 Apr 2016 12:19:49 -0400 Date: Wed, 6 Apr 2016 18:19:45 +0200 From: Andrew Lunn To: Vivien Didelot Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, "David S. Miller" , Florian Fainelli , Jiri Pirko , Scott Feldman Subject: Re: [PATCH net-next v2 0/3] net: dsa: voidify STP setter and FDB/VLAN add ops Message-ID: <20160406161945.GA13088@lunn.ch> References: <1459958105-1090-1-git-send-email-vivien.didelot@savoirfairelinux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1459958105-1090-1-git-send-email-vivien.didelot@savoirfairelinux.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 450 Lines: 14 On Wed, Apr 06, 2016 at 11:55:02AM -0400, Vivien Didelot wrote: > 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. Looks good. Reviewed-by: Andrew Lunn Thanks Andrew