[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1454819128-6716-1-git-send-email-a.s.protopopov@gmail.com>
Date: Sat, 6 Feb 2016 23:25:28 -0500
From: Anton Protopopov <a.s.protopopov@...il.com>
To: David Airlie <airlied@...ux.ie>
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
Anton Protopopov <a.s.protopopov@...il.com>
Subject: [PATCH] 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@...il.com>
---
drivers/gpu/drm/qxl/qxl_prime.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/qxl/qxl_prime.c b/drivers/gpu/drm/qxl/qxl_prime.c
index 3d031b5..9f029dd 100644
--- a/drivers/gpu/drm/qxl/qxl_prime.c
+++ b/drivers/gpu/drm/qxl/qxl_prime.c
@@ -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;
}
--
2.1.4
Powered by blists - more mailing lists