From: Dan Carpenter Date: Fri, 20 Sep 2013 11:20:18 +0000 (+0300) Subject: drm/i915: cleanup a min_t() cast X-Git-Tag: v3.13-rc1~76^2~114^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5ad4026b9270532bfbc2fcb73cc74fbb46887d1;p=pandora-kernel.git drm/i915: cleanup a min_t() cast 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 Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed