Searched hist:dbb8df5c (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/ntb/hw/intel/ |
H A D | ntb_hw_gen1.c | dbb8df5c Sun Aug 23 01:55:12 CDT 2020 Dinghao Liu <dinghao.liu@zju.edu.cn> ntb: intel: Fix memleak in intel_ntb_pci_probe
The default error branch of a series of pdev_is_gen calls should free ndev just like what we've done in these calls.
Fixes: 26bfe3d0b227 ("ntb: intel: Add Icelake (gen4) support for Intel NTB") Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Acked-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Jon Mason <jdmason@kudzu.us> dbb8df5c Sun Aug 23 01:55:12 CDT 2020 Dinghao Liu <dinghao.liu@zju.edu.cn> ntb: intel: Fix memleak in intel_ntb_pci_probe The default error branch of a series of pdev_is_gen calls should free ndev just like what we've done in these calls. Fixes: 26bfe3d0b227 ("ntb: intel: Add Icelake (gen4) support for Intel NTB") Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> Acked-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
|