lineage_android_kernel_sams.../drivers/uio
Linus Torvalds fa7b5d69ef Fix a few incorrectly checked [io_]remap_pfn_range() calls
commit 7314e613d5ff9f0934f7a0f74ed7973b903315d1 upstream.

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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org.
[lizf: backported to 3.4:
 - adjust context
 - no uio_physical_vm_ops]
Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-11-29 10:50:32 -08:00
..
Kconfig UIO: add PRUSS UIO driver support 2011-03-07 13:10:27 -08:00
Makefile UIO: add PRUSS UIO driver support 2011-03-07 13:10:27 -08:00
uio.c Fix a few incorrectly checked [io_]remap_pfn_range() calls 2013-11-29 10:50:32 -08:00
uio_aec.c
uio_cif.c uio: Change mail address of Hans J. Koch 2010-11-10 16:57:11 -08:00
uio_netx.c uio_netx: Add support for netPLC cards 2011-04-19 16:56:02 -07:00
uio_pci_generic.c uio: Convert uio_generic_pci to new intx masking API 2012-01-06 12:10:35 -08:00
uio_pdrv.c uio: convert drivers/uio/* to use module_platform_driver() 2011-11-26 20:12:48 -08:00
uio_pdrv_genirq.c uio: convert drivers/uio/* to use module_platform_driver() 2011-11-26 20:12:48 -08:00
uio_pruss.c uio: convert drivers/uio/* to use module_platform_driver() 2011-11-26 20:12:48 -08:00
uio_sercos3.c uio: Remove IRQF_DISABLED from uio_sercos3.c 2010-08-05 13:53:33 -07:00