| Date | Tue, 3 Mar 2015 08:17:27 +0100 | From | Maxime Ripard <> | Subject | Re: [PATCHv2 01/10] fbdev: ssd1307fb: fix memory address smem_start. |
| |
On Sun, Mar 01, 2015 at 11:27:54PM +0100, Thomas Niederprüm wrote: > the smem_start pointer of the framebuffer info struct needs to hold the > physical address rather than the virtual address. This patch fixes a > driver crash on mmaping the framebuffer memory due to an access to the > memory address. > > Note however that the memory allocated by kzalloc is not page aligned, > while the address presented on a mmap call is aligned to the next page > boudary. > > Signed-off-by: Thomas Niederprüm <niederp@physik.uni-kl.de>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Thanks! Maxime
-- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com [unhandled content-type:application/pgp-signature] |