net: hns3: format the output of the MAC address
authorYufeng Mo <moyufeng@huawei.com>
Wed, 24 Nov 2021 01:06:52 +0000 (09:06 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:23:52 +0000 (14:23 +0200)
commitee7e9a9d73d9e3cfe4304d53c3bff704ae4890ed
tree3cd61398b218abd74d4ceaa4a3d0e0d1ab489608
parent30f0ff7176efe8ac6c55f85bce26ed58bb608758
net: hns3: format the output of the MAC address

[ Upstream commit 4f331fda35f1695af8ddd8180edc948880def74b ]

Printing the whole MAC addresse may bring security risks. Therefore,
the MAC address is partially encrypted to improve security.

Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c