From: Pekka Paalanen Subject: Re: [PATCH] drm/nouveau: fix WITHIN macro off by one Date: Sun, 20 Sep 2009 15:23:51 +0300 Message-ID: <20090920152351.3b873db9@daedalus.pq.iki.fi> References: <1253297727-8126-1-git-send-email-pq@iki.fi> <6a89f9d50909200429u234af84l84e4c1eb6e24b287@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <6a89f9d50909200429u234af84l84e4c1eb6e24b287-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: Stephane Marchesin Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org On Sun, 20 Sep 2009 13:29:24 +0200 Stephane Marchesin wrote: > On Fri, Sep 18, 2009 at 20:15, Pekka Paalanen wrote: > > Equality in x <= y + z is already out of range. X must be > > stricly less. > > > > Yeah, I did that back when the SIZE defines were, say, 0x1fff > instead of 0x2000 so this was required. Seems like the size > defines changed, but the WITHIN macro wasn't updated. Thanks for confirming this, I pushed it a while back. -- Pekka Paalanen http://www.iki.fi/pq/