[Intel-gfx] [patch] drm/i915: cleanup a min_t() cast

Daniel Vetter daniel at ffwll.ch
Fri Sep 20 23:50:17 CEST 2013


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 <dan.carpenter at oracle.com>

Queued for -next, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list