diff options
| author | 2021-10-29 17:54:07 -0700 | |
|---|---|---|
| committer | 2021-11-01 13:21:49 +0000 | |
| commit | 62ea8b77ed3b7086561765df0226ebc7bb442020 (patch) | |
| tree | cd06f8b0727febc922fd9c4f05c4e272ea360682 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | net: mana: Report OS info to the PF driver (diff) | |
| download | linux-dev-62ea8b77ed3b7086561765df0226ebc7bb442020.tar.xz linux-dev-62ea8b77ed3b7086561765df0226ebc7bb442020.zip | |
net: mana: Improve the HWC error handling
Currently when the HWC creation fails, the error handling is flawed,
e.g. if mana_hwc_create_channel() -> mana_hwc_establish_channel() fails,
the resources acquired in mana_hwc_init_queues() is not released.
Enhance mana_hwc_destroy_channel() to do the proper cleanup work and
call it accordingly.
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
