diff options
author | Zhengchao Shao <shaozhengchao@huawei.com> | 2022-11-09 09:21:00 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-09 19:30:30 -0800 |
commit | c6092ea1e6d7bd12acd881f6aa2b5054cd70e096 (patch) | |
tree | 51b45dd8b6fa536d5805cae6a507f09c802523f3 /drivers/net/ethernet/ezchip | |
parent | mctp: Fix an error handling path in mctp_init() (diff) | |
download | linux-dev-c6092ea1e6d7bd12acd881f6aa2b5054cd70e096.tar.xz linux-dev-c6092ea1e6d7bd12acd881f6aa2b5054cd70e096.zip |
cxgb4vf: shut down the adapter when t4vf_update_port_info() failed in cxgb4vf_open()
When t4vf_update_port_info() failed in cxgb4vf_open(), resources applied
during adapter goes up are not cleared. Fix it. Only be compiled, not be
tested.
Fixes: 18d79f721e0a ("cxgb4vf: Update port information in cxgb4vf_open()")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Link: https://lore.kernel.org/r/20221109012100.99132-1-shaozhengchao@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/ezchip')
0 files changed, 0 insertions, 0 deletions