summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPan Bian <bianpan2016@163.com>2017-12-06 09:50:09 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-14 09:28:11 +0100
commit8b5106e1d22c6a57b62c71edd77d491203de3b8b (patch)
treedd7ffd719eb4cccf67baa1cb98b1b303ee9c2aa2 /lib
parent29c3b7a85409b584e35f4be69f71fa206eeaece0 (diff)
efi/esrt: Use memunmap() instead of kfree() to free the remapping
commit 89c5a2d34bda58319e3075e8e7dd727ea25a435c upstream. The remapping result of memremap() should be freed with memunmap(), not kfree(). Signed-off-by: Pan Bian <bianpan2016@163.com> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Matt Fleming <matt@codeblueprint.co.uk> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-efi@vger.kernel.org Link: http://lkml.kernel.org/r/20171206095010.24170-3-ard.biesheuvel@linaro.org Signed-off-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions