]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4e16896c73228180b3acf69159c677ad4ea78b0f
treedee2b70aca9763952edc6d4065dc79194e3aecd0
parentd8c4dfc366a3ccecec902701581e5b7a0ef382ab
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