aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorLorenzo Pieralisi <[email protected]>2017-06-28 15:13:53 -0500
committerBjorn Helgaas <[email protected]>2017-06-28 15:13:53 -0500
commit9aa17a772084e192a2364340794f0d44ac73dd4c (patch)
tree72b852a3432e1281271da53fb38953e2e2afef69 /include/linux/fpga/fpga-mgr.h
parent5c3f18cce08364ef68163228c0b42725d64cd353 (diff)
PCI: faraday: Fix host bridge memory leakage
When probing the PCI host controller driver, if an error occurs, the probe function code does not free memory allocated for the struct pci_host_bridge resulting in memory leakage. Move the struct pci_host_bridge allocation over to the respective devm interface to fix the issue. Signed-off-by: Lorenzo Pieralisi <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Acked-by: Linus Walleij <[email protected]> Cc: Arnd Bergmann <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions