[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171103.141839.1785916247470411683.davem@davemloft.net>
Date: Fri, 03 Nov 2017 14:18:39 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: privat@...l-hjelmeland.no
Cc: andrew@...n.ch, vivien.didelot@...oirfairelinux.com,
f.fainelli@...il.com, rafal@...ecki.pl, stephen@...workplumber.org,
bridge@...ts.linux-foundation.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] net: Define eth_stp_addr in
linux/etherdevice.h
From: Egil Hjelmeland <privat@...l-hjelmeland.no>
Date: Thu, 2 Nov 2017 10:36:48 +0100
> The lan9303 driver defines eth_stp_addr as a synonym to
> eth_reserved_addr_base to get the STP ethernet address 01:80:c2:00:00:00.
>
> eth_reserved_addr_base is also used to define the start of Bridge Reserved
> ethernet address range, which happen to be the STP address.
>
> br_dev_setup refer to eth_reserved_addr_base as a definition of STP
> address.
>
> Clean up by:
> - Move the eth_stp_addr definition to linux/etherdevice.h
> - Use eth_stp_addr instead of eth_reserved_addr_base in br_dev_setup.
>
> Signed-off-by: Egil Hjelmeland <privat@...l-hjelmeland.no>
Applied, thank you.
Powered by blists - more mailing lists