“bb8985586b7a906e116db835c64773b7a7d51663”上不存在“arch/x86/include/asm/pci-functions.h”
-
由 Lorenzo Pieralisi 提交于
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: NLorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: NBjorn Helgaas <bhelgaas@google.com> Acked-by: NLinus Walleij <linus.walleij@linaro.org> Cc: Arnd Bergmann <arnd@arndb.de>
9aa17a77