]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: adi: adin1110: use eth_broadcast_addr() to assign broadcast address
authorYang Yingliang <yangyingliang@huawei.com>
Fri, 4 Aug 2023 09:35:31 +0000 (17:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Sep 2023 10:28:08 +0000 (12:28 +0200)
commitc281948cebcccf275afbec7cb03adb68d39288e7
tree4741a75535bb6c3aac403cb98efb506de8c8794a
parent61866f7d814e5792bf47410d7d3ff32e49bd292a
net: ethernet: adi: adin1110: use eth_broadcast_addr() to assign broadcast address

[ Upstream commit 54024dbec95585243391caeb9f04a2620e630765 ]

Use eth_broadcast_addr() to assign broadcast address instead
of memset().

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 32530dba1bd4 ("net:ethernet:adi:adin1110: Fix forwarding offload")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/adi/adin1110.c