Thread (27 messages) 27 messages, 6 authors, 2018-06-29

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

From: Vladimir Zapolskiy <hidden>
Date: 2018-05-15 10:06:55
Also in: linux-pci, lkml

On 05/15/2018 12:07 PM, Jan Kiszka wrote:
From: Jan Kiszka <jan.kiszka@siemens.com>

of_pci_get_host_bridge_resources() allocates the resource structures it
fills dynamically, but none of its callers care to release them so far.
Rather than requiring everyone to do this explicitly, convert the
existing function to a managed version.

CC: Jingoo Han <jingoohan1@gmail.com>
CC: Joao Pinto <redacted>
CC: Lorenzo Pieralisi <redacted>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Now it is correct, thanks.

Tested-by: Vladimir Zapolskiy <redacted>
Reviewed-by: Vladimir Zapolskiy <redacted>

--
With best wishes,
Vladimir
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help