[PATCH] RFC: framebuffer: provide generic get_fb_unmapped_area

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Mon Nov 18 14:10:31 EST 2013


Hello again,

On Mon, Nov 18, 2013 at 07:59:59PM +0100, Uwe Kleine-König wrote:
> 	if (pgoff > screen_size || pgoff + len > screen_size)
This must be:

	if (pgoff > screen_size || len > screen_size - pgoff)

to do what I intended.

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list