Home
last modified time | relevance | path

Searched hist:"91800660 bbe9d4ae7791f0e646e5736180f01fc0" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/pci/hotplug/
H A Drpaphp_slot.cdiff 91800660bbe9d4ae7791f0e646e5736180f01fc0 Fri Mar 22 13:27:22 CDT 2019 Tyrel Datwyler <tyreld@linux.vnet.ibm.com> PCI: rpaphp: Get/put device node reference during slot alloc/dealloc

When allocating the slot structure we store a pointer to the associated
device_node. We really should be incrementing the reference count, so add
an of_node_get() during slot alloc and an of_node_put() during slot
dealloc.

Signed-off-by: Tyrel Datwyler <tyreld@linux.vnet.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>