]> bbs.cooldavid.org Git - net-next-2.6.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)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 3 Oct 2010 13:16:18 +0000 (14:16 +0100)
commit7dcd2499deab8f10011713c40bc2f309c9b65077
tree1fc0476339e3fabd6b2a5f62dba1fd10abfd82f8
parentce9d419dbecc292cc3e06e8b1d6d123d3fa813a4
drm/i915: Rephrase pwrite bounds checking to avoid any potential overflow

... and do the same for pread.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@kernel.org
drivers/gpu/drm/i915/i915_gem.c