drm/qxl: fix erroneous return value

The qxl_gem_prime_mmap() function returns ENOSYS instead of -ENOSYS

Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Anton Protopopov 2016-02-06 23:25:28 -05:00 committed by Dave Airlie
parent ff683df7bf
commit dada168b3b
1 changed files with 1 additions and 1 deletions

View File

@ -68,5 +68,5 @@ int qxl_gem_prime_mmap(struct drm_gem_object *obj,
struct vm_area_struct *area)
{
WARN_ONCE(1, "not implemented");
return ENOSYS;
return -ENOSYS;
}