From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [patch] drm/i915: cleanup a min_t() cast Date: Fri, 20 Sep 2013 23:50:17 +0200 Message-ID: <20130920215017.GN32145@phenom.ffwll.local> References: <20130920112018.GA8655@elgon.mountain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20130920112018.GA8655@elgon.mountain> Sender: kernel-janitors-owner@vger.kernel.org To: Dan Carpenter Cc: Daniel Vetter , David Airlie , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, kernel-janitors@vger.kernel.org List-Id: intel-gfx@lists.freedesktop.org On Fri, Sep 20, 2013 at 02:20:18PM +0300, Dan Carpenter wrote: > The lower layers of sysfs will not allow an "offset" of more than > GEN7_L3LOG_SIZE and also l3_access_valid() caps it a second time. But > it's a little easier to audit if we don't have to worry that the > subtraction will result in negative values. > > Signed-off-by: Dan Carpenter Queued for -next, thanks for the patch. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch