2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00
linux-next/drivers/mcb
Johannes Thumshirn a48742bce1 mcb: Fix error path of mcb_pci_probe
If a MCB PCI Carrier device is IO mapped insted of memory-mapped (which is
currently unsupported by the upstream driver) the probe function bails out
with -ENOTSUPP.

In this case the memory of the PCI device was not unmapped.
Also rename error label to reflect what will happen at the destination (suggested
by Julia Lawall <julia.lawall@lip6.fr>.

Signed-off-by: Johannes Thumshirn <johannes.thumshirn@men.de>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-02-03 15:48:51 -08:00
..
Kconfig drivers: mcb: Fix build error discovered by 0-day bot 2014-03-09 10:22:46 -07:00
Makefile mcb: Add PCI carrier for MEN Chameleon Bus 2014-02-28 15:47:12 -08:00
mcb-core.c mcb: Add support for shared PCI IRQs 2014-05-27 17:38:11 -07:00
mcb-internal.h mcb: mcb-pci: Only remap the 1st 0x200 bytes of BAR 0 2015-01-09 15:46:37 -08:00
mcb-parse.c drivers: mcb: fix memory leak in chameleon_parse_cells() error path 2014-04-16 12:28:47 -07:00
mcb-pci.c mcb: Fix error path of mcb_pci_probe 2015-02-03 15:48:51 -08:00