Searched hist:c82bd077e1ba3dd586569c733dc6d3dd4b0e43cd (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_enet.c | diff c82bd077e1ba3dd586569c733dc6d3dd4b0e43cd Fri Dec 14 21:53:25 CST 2018 Yonglong Liu <liuyonglong@huawei.com> net: hns: Free irq when exit from abnormal branch
1.In "hns_nic_init_irq", if request irq fail at index i, the function return directly without releasing irq resources that already requested.
2.In "hns_nic_net_up" after "hns_nic_init_irq", if exceptional branch occurs, irqs that already requested are not release.
Signed-off-by: Yonglong Liu <liuyonglong@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|