]> 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>
Tue, 15 Nov 2011 06:51:15 +0000 (09:51 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 26 Nov 2011 17:10:35 +0000 (09:10 -0800)
commit9e1300a17346bdef3c4edabf1cb8135e52ffeb33
tree77b26ce7b8d7b96ab209a1609c470f99123235ea
parent4609e74a3eead6f129eb470ed5e3d09b2a2978d0
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: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/i915_gem.c