diff options
author | 2019-03-29 11:58:53 +0000 | |
---|---|---|
committer | 2019-05-07 08:54:14 -0500 | |
commit | e6fdd3bf5aecd8615f31a5128775b9abcf3e0d86 (patch) | |
tree | d3a3ec744ebac2911c6b3bc5ca6ef994f2c2d7d7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: dwc: Free MSI in dw_pcie_host_init() error path (diff) | |
download | wireguard-linux-e6fdd3bf5aecd8615f31a5128775b9abcf3e0d86.tar.xz wireguard-linux-e6fdd3bf5aecd8615f31a5128775b9abcf3e0d86.zip |
PCI: dwc: Use devm_pci_alloc_host_bridge() to simplify code
Use devm_pci_alloc_host_bridge() to simplify the error code path. This
also fixes a leak in the dw_pcie_host_init() error path.
Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
CC: stable@vger.kernel.org # v4.13+
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions