Skip to content

Commit

Permalink
drm/qxl: fix erroneous return value
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anton Protopopov authored and Dave Airlie committed Feb 17, 2016
1 parent ff683df commit dada168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/qxl/qxl_prime.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit dada168

Please sign in to comment.