linux-sg2042/drivers/ntb/hw/intel
Dinghao Liu dbb8df5c2d 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: 26bfe3d0b2 ("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>
2020-08-24 10:44:47 -04:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile ntb: intel: Add Icelake (gen4) support for Intel NTB 2020-04-20 10:16:23 -04:00
ntb_hw_gen1.c ntb: intel: Fix memleak in intel_ntb_pci_probe 2020-08-24 10:44:47 -04:00
ntb_hw_gen1.h ntb: intel: add hw workaround for NTB BAR alignment 2020-06-05 20:02:00 -04:00
ntb_hw_gen3.c ntb: intel: Add Icelake (gen4) support for Intel NTB 2020-04-20 10:16:23 -04:00
ntb_hw_gen3.h ntb: intel: constify ioreadX() iomem argument (as in generic implementation) 2020-08-14 19:56:57 -07:00
ntb_hw_gen4.c ntb: intel: fix static declaration 2020-06-05 20:02:08 -04:00
ntb_hw_gen4.h ntb: intel: add hw workaround for NTB BAR alignment 2020-06-05 20:02:00 -04:00
ntb_hw_intel.h ntb: intel: constify ioreadX() iomem argument (as in generic implementation) 2020-08-14 19:56:57 -07:00