]> 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)
commit5c3814702faf531a05023b8024b8285293fd3320
treee34aec149f3b5701c62c41ad3aad23f990f7bcc1
parent958e034c6a73204036538248e632538ac6393f72
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