Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dada168b authored by Anton Protopopov's avatar Anton Protopopov Committed by Dave Airlie
Browse files

drm/qxl: fix erroneous return value



The qxl_gem_prime_mmap() function returns ENOSYS instead of -ENOSYS

Signed-off-by: default avatarAnton Protopopov <a.s.protopopov@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent ff683df7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}