diff options
| author | Daniel Axtens <[email protected]> | 2015-08-14 17:41:21 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2015-08-14 21:32:05 +1000 |
| commit | 575e6986f028711287fbbf250e5289a089bac8cb (patch) | |
| tree | d26bc62a6792840f9953881f28c9e7ecff0c5f20 /scripts/gdb/linux/tasks.py | |
| parent | e640d2fc811ff8cc1451f92490d3ccc2adcad179 (diff) | |
cxl: Clean up adapter MMIO unmap path.
- MMIO pointer unmapping is guarded by a null pointer check.
However, iounmap doesn't null the pointer, just invalidate it.
Therefore, explicitly null the pointer after unmapping.
- afu_desc_mmio also needs to be unmapped.
- PCI regions are allocated in cxl_map_adapter_regs.
Therefore they should be released in unmap, not elsewhere.
Acked-by: Cyril Bur <[email protected]>
Signed-off-by: Daniel Axtens <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions