]> git.baikalelectronics.ru Git - kernel.git/commit
Fix a few incorrectly checked [io_]remap_pfn_range() calls
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Oct 2013 17:21:34 +0000 (10:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Oct 2013 17:21:34 +0000 (10:21 -0700)
commitc8f58474a355f6beb0feb61c519dab81b231f413
tree71c58bf663e85fac4712ab86eaae78e889c41a49
parent222623369672a9d27c3336b7d0052fca9fd65b18
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.
drivers/uio/uio.c
drivers/video/au1100fb.c
drivers/video/au1200fb.c