]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: Rephrase pwrite bounds checking to avoid any potential overflow
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 26 Sep 2010 19:21:44 +0000 (20:21 +0100)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 17 Aug 2012 19:35:56 +0000 (15:35 -0400)
commitdf7b176d61e6fcf6a5bc3b2905859882bc861844
treeefaf84c1c666ed6dab5acd6f2da96055849f0506
parent0618fab3584f661de31e8eaab044c8c30b0e8d74
drm/i915: Rephrase pwrite bounds checking to avoid any potential overflow

commit 7dcd2499deab8f10011713c40bc2f309c9b65077 upstream.

... and do the same for pread.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/gpu/drm/i915/i915_gem.c