[PATCH v4 6/8] PCI: Rework of_pci_get_host_bridge_resources() to devm_of_pci_get_host_bridge_resources()

Andy Shevchenko andy.shevchenko at gmail.com
Tue May 15 09:50:16 PDT 2018


On Tue, May 15, 2018 at 7:48 PM, Andy Shevchenko
<andy.shevchenko at gmail.com> wrote:
> On Tue, May 15, 2018 at 12:07 PM, Jan Kiszka <jan.kiszka at siemens.com> wrote:

>> +                       devm_kfree(dev, res);

devm_kfree() makes my eyes hurt.

> res = devm_kmemdump();

devm_kmemdup(&tmp...);

-- 
With Best Regards,
Andy Shevchenko



More information about the linux-arm-kernel mailing list