Re: [PATCH] ntb: intel: Fix memleak in intel_ntb_pci_probe

2020-08-24 Thread Jon Mason
On Mon, Aug 24, 2020 at 07:37:56AM -0700, Dave Jiang wrote: > > > On 8/22/2020 11:55 PM, Dinghao Liu wrote: > > The default error branch of a series of pdev_is_gen calls > > should free ndev just like what we've done in these calls. > > > > Signed-off-by: Dinghao Liu > > Thanks Dinghao >

Re: [PATCH] ntb: intel: Fix memleak in intel_ntb_pci_probe

2020-08-24 Thread Dave Jiang
On 8/22/2020 11:55 PM, Dinghao Liu wrote: The default error branch of a series of pdev_is_gen calls should free ndev just like what we've done in these calls. Signed-off-by: Dinghao Liu Thanks Dinghao Acked-by: Dave Jiang --- drivers/ntb/hw/intel/ntb_hw_gen1.c | 2 +- 1 file

[PATCH] ntb: intel: Fix memleak in intel_ntb_pci_probe

2020-08-23 Thread Dinghao Liu
The default error branch of a series of pdev_is_gen calls should free ndev just like what we've done in these calls. Signed-off-by: Dinghao Liu --- drivers/ntb/hw/intel/ntb_hw_gen1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ntb/hw/intel/ntb_hw_gen1.c