[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87bn5nxw82.fsf@ketchup.mtl.sfl>
Date: Tue, 05 Apr 2016 23:16:45 -0400
From: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
To: Andrew Lunn <andrew@...n.ch>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel@...oirfairelinux.com,
"David S. Miller" <davem@...emloft.net>,
Florian Fainelli <f.fainelli@...il.com>,
Jiri Pirko <jiri@...nulli.us>,
Scott Feldman <sfeldma@...il.com>
Subject: Re: [PATCH net-next 1/3] net: dsa: make the STP state function return void
Hi Andrew,
Andrew Lunn <andrew@...n.ch> 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
Powered by blists - more mailing lists