diff options
author | Yufeng Mo <moyufeng@huawei.com> | 2021-04-29 16:34:51 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-29 15:41:43 -0700 |
commit | 568a54bdf70b143f3e0befa298e22ad469ffc732 (patch) | |
tree | 2a6d195c2bc09a9f0aa44e1c0e77b28a6a0ca0f3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2867298dd49ee84214b8721521dc7a5a6382520c (diff) |
net: hns3: initialize the message content in hclge_get_link_mode()
The message sent to VF should be initialized, otherwise random
value of some contents may cause improper processing by the target.
So add a initialization to message in hclge_get_link_mode().
Fixes: 9194d18b0577 ("net: hns3: fix the problem that the supported port is empty")
Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions