kernel_samsung_a53x/drivers/net/ethernet/hisilicon
Yonglong Liu c9346bf368 net: hns3: fix variable may not initialized problem in hns3_init_mac_addr()
[ Upstream commit dbd2f3b20c6ae425665b6975d766e3653d453e73 ]

When a VF is calling hns3_init_mac_addr(), get_mac_addr() may
return fail, then the value of mac_addr_temp is not initialized.

Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC")
Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 11:43:19 +01:00
..
hns Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns3 net: hns3: fix variable may not initialized problem in hns3_init_mac_addr() 2024-11-18 11:43:19 +01:00
hip04_eth.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hisi_femac.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
hix5hd2_gmac.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
hns_mdio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00