diff options
author | Jie Wang <[email protected]> | 2021-11-26 20:03:18 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-11-26 11:36:29 -0800 |
commit | 82229c4dbb8a2780f05fa1bab29c97ef7bcd21bb (patch) | |
tree | aa2f8ff8ce9a1cd4ef1342f56232ce4bc72b430a /lib/test_fortify/write_overflow-strncpy.c | |
parent | 9c14791748708d87c4d02ba74eb7e281e141d6e4 (diff) |
net: hns3: fix incorrect components info of ethtool --reset command
Currently, HNS3 driver doesn't clear the reset flags of components after
successfully executing reset, it causes userspace info of
"Components reset" and "Components not reset" is incorrect.
So fix this problem by clear corresponding reset flag after reset process.
Fixes: ddccc5e368a3 ("net: hns3: add support for triggering reset by ethtool")
Signed-off-by: Jie Wang <[email protected]>
Signed-off-by: Guangbin Huang <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions