Skip to content
Commit 7314e613 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Fix a few incorrectly checked [io_]remap_pfn_range() calls



Nico Golde reports a few straggling uses of [io_]remap_pfn_range() that
really should use the vm_iomap_memory() helper.  This trivially converts
two of them to the helper, and comments about why the third one really
needs to continue to use remap_pfn_range(), and adds the missing size
check.

Reported-by: default avatarNico Golde <nico@ngolde.de>
Cc: stable@kernel.org
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org.>
parent f9ec2e6f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment