]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit279f70e32df50ace50c820c9ef38fd618473d2dc
treee34aec149f3b5701c62c41ad3aad23f990f7bcc1
parent4f269b6b736a358e7904c90dd091ae83fa876a9e
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