OSDN Git Service

net: dsa: mv88e6xxx: Use standard helper for broadcast address
authorTobias Waldekranz <tobias@waldekranz.com>
Thu, 18 Mar 2021 19:25:37 +0000 (20:25 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Mar 2021 23:24:06 +0000 (16:24 -0700)
commit0806dd4654145e70e4a4c5b06ddad4cd7a121fdf
treedee2b70aca9763952edc6d4065dc79194e3aecd0
parent34065c58306dab883deb323f2edf6074f2225c19
net: dsa: mv88e6xxx: Use standard helper for broadcast address

Use the conventional declaration style of a MAC address in the
kernel (u8 addr[ETH_ALEN]) for the broadcast address, then set it
using the existing helper.

Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c