cxl: Test the correct mmio space before unmapping
authorDaniel Axtens <dja@axtens.net>
Thu, 2 Jul 2015 05:55:21 +0000 (15:55 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 6 Jul 2015 10:24:35 +0000 (20:24 +1000)
commit8c00d5c9d3e7452658dda55024485d52919ebfdd
treee34aec149f3b5701c62c41ad3aad23f990f7bcc1
parent27ea2c420cad57386c25668cb9a9f0f082635586
cxl: Test the correct mmio space before unmapping

Before freeing p2n, test p2n, not p1n.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/pci.c