diff options
author | Suthikulpanit, Suravee <Suravee.Suthikulpanit@amd.com> | 2015-10-28 23:50:52 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-11-07 01:29:22 +0100 |
commit | 37efbe20fb19cee43d95b7ba9e54d5d0b00c0d67 (patch) | |
tree | 48f7873f8d9e6e1d9ecb19b58ef825872a525c80 /drivers/irqchip/irq-gic-common.h | |
parent | device property: ACPI: Remove unused DMA APIs (diff) | |
download | linux-37efbe20fb19cee43d95b7ba9e54d5d0b00c0d67.tar.xz linux-37efbe20fb19cee43d95b7ba9e54d5d0b00c0d67.zip |
of/pci: Fix pci_get_host_bridge_device leak
In case of error, the current code return w/o calling
pci_put_host_bridge_device. This patch fixes this.
Signed-off-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/irqchip/irq-gic-common.h')
0 files changed, 0 insertions, 0 deletions