summaryrefslogtreecommitdiff
path: root/drivers/ide/it8172.c
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2015-08-14 17:41:21 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2015-08-14 21:32:05 +1000
commit575e6986f028711287fbbf250e5289a089bac8cb (patch)
treed26bc62a6792840f9953881f28c9e7ecff0c5f20 /drivers/ide/it8172.c
parente640d2fc811ff8cc1451f92490d3ccc2adcad179 (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 <cyrilbur@gmail.com> Signed-off-by: Daniel Axtens <dja@axtens.net> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/ide/it8172.c')
0 files changed, 0 insertions, 0 deletions