drm/i915: check the return value from the copy from user
authorDave Airlie <airlied@redhat.com>
Sun, 29 Mar 2009 00:29:48 +0000 (20:29 -0400)
committerDave Airlie <airlied@redhat.com>
Sun, 29 Mar 2009 00:29:48 +0000 (20:29 -0400)
commitd008877550d8ca8c6878dd494e50c1b9209f38d4
tree7ce65d9e868b05bac04201ebfc089ea1228b134a
parent90f959bcb386da2c71613dcefc6a285e054a539e
drm/i915: check the return value from the copy from user

This produced a warning on my build, not sure why super-warning-man didn't
notice this one, its much worse than the %z one.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_gem.c