commit | 8c99e57d3926959dd940e834da6fa707601ba7e5 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Fri Jan 31 11:34:58 2014 +0000 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Feb 04 17:03:32 2014 +0100 |
tree | c1c7ceaa97dd8d9368cce5cb73e776e31d6d6069 | |
parent | 45d678173ad1ab4c3e2f8870e40aa3194bf3763d [diff] |
drm/i915: Treat using a purged buffer as a source of EFAULT Since a purged buffer is one without any associated pages, attempting to use it should generate EFAULT rather than EINVAL, as it is not strictly an invalid parameter. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>