diff options
| author | Alexey Khoroshilov <[email protected]> | 2015-08-24 10:18:38 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-10-05 05:10:01 +0100 |
| commit | 41ada9df7f340998e810dcda21a00da5f75c4147 (patch) | |
| tree | f4f36526582dbd6462d01ac13996fc1fe3131343 /scripts/dtc/treesource.c | |
| parent | 84dfe03ae2112b817d5221575d59ba616dc0c3e2 (diff) | |
mcb: Fix error handling in mcb_pci_probe()
If a MCB PCI Carrier device is IO mapped insted of memory-mapped,
the memory of the PCI device is still not unmapped.
Also the patch adds deallocation of the bus
if chameleon_parse_cells() fails.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <[email protected]>
Signed-off-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/dtc/treesource.c')
0 files changed, 0 insertions, 0 deletions