From: Chris Wilson Subject: Re: [patch] i915: signedness bug in check_overlay_src() Date: Wed, 27 Oct 2010 22:58:45 +0100 Message-ID: References: <20101027211724.GI6062@bicker> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20101027211724.GI6062@bicker> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Dan Carpenter Cc: intel-gfx@lists.freedesktop.org, kernel-janitors@vger.kernel.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Wed, 27 Oct 2010 23:17:25 +0200, Dan Carpenter wrote: > "depth" should be signed in case packed_depth_bytes() returns -EINVAL. > > This probably doesn't make a difference at runtime. In the original > code we would return -EINVAL later if (rec->offset_Y % 4294967274) is > non-zero. Applied to fixes, thanks. -Chris -- Chris Wilson, Intel Open Source Technology Centre