Re: [PATCH v4] of/pci: Fix memory leak in of_pci_get_host_bridge_resources

2017-04-05 Thread kbuild test robot
Hi Jeffy, [auto build test ERROR on pci/next] [also build test ERROR on v4.11-rc5 next-20170405] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v4] of/pci: Fix memory leak in of_pci_get_host_bridge_resources

2017-04-05 Thread kbuild test robot
Hi Jeffy, [auto build test ERROR on pci/next] [also build test ERROR on v4.11-rc5 next-20170405] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v4] of/pci: Fix memory leak in of_pci_get_host_bridge_resources

2017-04-05 Thread kbuild test robot
Hi Jeffy, [auto build test ERROR on pci/next] [also build test ERROR on v4.11-rc5 next-20170405] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH v4] of/pci: Fix memory leak in of_pci_get_host_bridge_resources

2017-04-05 Thread kbuild test robot
Hi Jeffy, [auto build test ERROR on pci/next] [also build test ERROR on v4.11-rc5 next-20170405] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH v4] of/pci: Fix memory leak in of_pci_get_host_bridge_resources

2017-04-04 Thread Jeffy Chen
Currently we only free the allocated resource struct when error. This would cause memory leak after pci_free_resource_list. Signed-off-by: Jeffy Chen --- Changes in v4: Use IORESOURCE_AUTO to mark struct resources which could be copied. Changes in v3: Add some

[PATCH v4] of/pci: Fix memory leak in of_pci_get_host_bridge_resources

2017-04-04 Thread Jeffy Chen
Currently we only free the allocated resource struct when error. This would cause memory leak after pci_free_resource_list. Signed-off-by: Jeffy Chen --- Changes in v4: Use IORESOURCE_AUTO to mark struct resources which could be copied. Changes in v3: Add some comments. Changes in v2: Don't