Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760319AbcDFDQu (ORCPT ); Tue, 5 Apr 2016 23:16:50 -0400 Received: from mail.savoirfairelinux.com ([208.88.110.44]:39171 "EHLO mail.savoirfairelinux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752365AbcDFDQt (ORCPT ); Tue, 5 Apr 2016 23:16:49 -0400 From: Vivien Didelot To: Andrew Lunn 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 1/3] net: dsa: make the STP state function return void In-Reply-To: <20160405234714.GB19409@lunn.ch> References: <1459869875-23815-1-git-send-email-vivien.didelot@savoirfairelinux.com> <20160405234714.GB19409@lunn.ch> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-unknown-linux-gnu) Date: Tue, 05 Apr 2016 23:16:45 -0400 Message-ID: <87bn5nxw82.fsf@ketchup.mtl.sfl> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 518 Lines: 18 Hi Andrew, Andrew Lunn writes: >> -- port_stp_update: bridge layer function invoked when a given switch port STP >> +- port_stp_state: bridge layer function invoked when a given switch port STP > > port_stp_state_set might be a better name, to make it clear it is > setting the state, not getting the current state, etc. Most of the > other functions are _add, _prepare, _join, _leave, so _set would fit > the pattern. I agree, I'm changing that. > Changing to a void makes sense. Thanks, Vivien