]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Nov 2021 14:12:26 +0000 (14:12 +0000)
commit66d55a921a690c27c7c62f67fca5532939f2356f
tree9e015cc0fbbeeec7ee9405dc00935cb3b20f9b29
parent7e6f3d190e2fec1dec412a83a3a262c256db2c35
net: hns3: format the output of the MAC address

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>
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