Files
Dinghao Liu ea2cd2d047 ntb: intel: Fix memleak in intel_ntb_pci_probe
[ Upstream commit dbb8df5c2d ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 10:12:07 +01:00
..
2019-08-05 15:42:27 -04:00