OpenCloudOS-Kernel/drivers/auxdisplay
Souptick Joarder f4bb1f895a auxdisplay/ht16k33.c: Convert to use vm_map_pages_zero()
While using mmap, the incorrect values of length and vm_pgoff are
ignored and this driver goes ahead with mapping fbdev.buffer
to user vma.

Convert vm_insert_pages() to use vm_map_pages_zero(). We could later
"fix" these drivers to behave according to the normal vm_pgoff
offsetting simply by removing the _zero suffix on the function name
and if that causes regressions, it gives us an easy way to revert.

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Acked-by: Robin van der Gracht <robin@protonic.nl>
Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
2019-06-20 15:06:24 +02:00
..
Kconfig auxdisplay: charlcd: make backlight initial state configurable 2019-03-17 08:48:45 +01:00
Makefile auxdisplay: deconfuse configuration 2019-03-17 08:48:33 +01:00
arm-charlcd.c auxdisplay: simplify getting .drvdata 2018-08-01 18:58:09 +02:00
cfag12864b.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
cfag12864bfb.c auxdisplay/cfag12864bfb.c: Convert to use vm_map_pages_zero() 2019-06-20 15:06:17 +02:00
charlcd.c auxdisplay: charlcd: make backlight initial state configurable 2019-03-17 08:48:45 +01:00
hd44780.c auxdisplay: hd44780: Convert to use charlcd_free() 2019-03-17 08:48:28 +01:00
ht16k33.c auxdisplay/ht16k33.c: Convert to use vm_map_pages_zero() 2019-06-20 15:06:24 +02:00
img-ascii-lcd.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ks0108.c auxdisplay: Replace licenses with SPDX identifiers 2018-04-12 19:02:45 +02:00
panel.c auxdisplay: panel: Convert to use charlcd_free() 2019-03-17 08:48:22 +01:00