diff options
author | Johannes Thumshirn <johannes.thumshirn@men.de> | 2015-01-12 16:26:32 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-02-03 15:48:51 -0800 |
commit | a48742bce1011d2109f6d6cbda00445aee049fd4 (patch) | |
tree | 39191dfa9b502119ddf9caa45a414486817232a2 /drivers/cdrom | |
parent | d909f4315b99e5743041eeb01a2552fcbb125c89 (diff) |
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>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions