diff options
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2021-02-28 19:50:58 +0800 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-06-24 09:38:26 -0700 |
commit | 9c04cfcd4aad232e36306cdc5c74cd9fc9148a7e (patch) | |
tree | cc0db1bb087d1d89bb27e659b3b8ff3e071d41b9 /drivers/irqchip/irq-ixp4xx.c | |
parent | c2f5c57d99debf471a1b263cdf227e55f1364e95 (diff) |
i40e: Fix error handling in i40e_vsi_open
When vsi->type == I40E_VSI_FDIR, we have caught the return value of
i40e_vsi_request_irq() but without further handling. Check and execute
memory clean on failure just like the other i40e_vsi_request_irq().
Fixes: 8a9eb7d3cbcab ("i40e: rework fdir setup and teardown")
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/irqchip/irq-ixp4xx.c')
0 files changed, 0 insertions, 0 deletions