[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e06087fd-3258-89d4-cdc3-06196bd61dbe@mentor.com>
Date: Thu, 3 May 2018 10:14:20 +0300
From: Vladimir Zapolskiy <vladimir_zapolskiy@...tor.com>
To: Jan Kiszka <jan.kiszka@...mens.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
<linux-pci@...r.kernel.org>, <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH v2 04/10] PCI: Add dev parameter to
__of_pci_get_host_bridge_resources()
On 04/30/2018 08:48 AM, Jan Kiszka wrote:
> From: Jan Kiszka <jan.kiszka@...mens.com>
>
> When non-NULL, use the new dev parameter of
> __of_pci_get_host_bridge_resources() to allocate the resource data
> structures via devm_kzalloc. That allows to release them automatically
> during device destruction.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@...mens.com>
Reviewed-by: Vladimir Zapolskiy <vladimir_zapolskiy@...tor.com>
Tested-by: Vladimir Zapolskiy <vladimir_zapolskiy@...tor.com>
--
With best wishes,
Vladimir
Powered by blists - more mailing lists