diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-10-29 10:21:34 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-10-29 10:21:34 -0700 |
commit | 7314e613d5ff9f0934f7a0f74ed7973b903315d1 (patch) | |
tree | 71c58bf663e85fac4712ab86eaae78e889c41a49 /tools/virtio | |
parent | f9ec2e6f7991e748e75e324ed05ca2a7ec360ebb (diff) |
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: Nico Golde <nico@ngolde.de>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org.
Diffstat (limited to 'tools/virtio')
0 files changed, 0 insertions, 0 deletions