Re: [PATCH v4 6/8] PCI: Rework of_pci_get_host_bridge_resources() to devm_of_pci_get_host_bridge_resources()
From: Andy Shevchenko
Date: Tue May 15 2018 - 13:41:38 EST
On Tue, May 15, 2018 at 7:48 PM, Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> On Tue, May 15, 2018 at 12:07 PM, Jan Kiszka <jan.kiszka@xxxxxxxxxxx> wrote:
>> + devm_kfree(dev, res);
devm_kfree() makes my eyes hurt.
> res = devm_kmemdump();
devm_kmemdup(&tmp...);
--
With Best Regards,
Andy Shevchenko