From: u.kleine-koenig@pengutronix.de (Uwe Kleine-König)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] RFC: framebuffer: provide generic get_fb_unmapped_area
Date: Mon, 18 Nov 2013 20:10:31 +0100 [thread overview]
Message-ID: <20131118191031.GF19318@pengutronix.de> (raw)
In-Reply-To: <20131118185959.GE19318@pengutronix.de>
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/ |
next prev parent reply other threads:[~2013-11-18 19:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-18 10:57 [PATCH] RFC: framebuffer: provide generic get_fb_unmapped_area Uwe Kleine-König
2013-11-18 11:59 ` Geert Uytterhoeven
2013-11-18 18:59 ` Uwe Kleine-König
2013-11-18 19:10 ` Uwe Kleine-König [this message]
2013-11-20 8:41 ` Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131118191031.GF19318@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).