summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-05-24 12:42:50 +0200
committerGerd Hoffmann <kraxel@redhat.com>2019-05-27 13:17:03 +0200
commit95b74ce88943747fff0a3a8a6f04eecbe7b1c3ce (patch)
tree4e5c20aae89bb54cf6c221dbf1d6f1fb1661e40d
parentf3617b449d0bcf3b5d80a97f51498dcf7463cf7e (diff)
drm/qxl: drop WARN_ONCE()drm-misc-fixes-2019-05-29
There is no good reason to flood the kernel log with a WARN stacktrace just because someone tried to mmap a prime buffer. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/20190524104251.22761-1-kraxel@redhat.com
-rw-r--r--drivers/gpu/drm/qxl/qxl_prime.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_prime.c b/drivers/gpu/drm/qxl/qxl_prime.c
index 114653b471c6..7d3816fca5a8 100644
--- a/drivers/gpu/drm/qxl/qxl_prime.c
+++ b/drivers/gpu/drm/qxl/qxl_prime.c
@@ -77,6 +77,5 @@ void qxl_gem_prime_vunmap(struct drm_gem_object *obj, void *vaddr)
int qxl_gem_prime_mmap(struct drm_gem_object *obj,
struct vm_area_struct *area)
{
- WARN_ONCE(1, "not implemented");
return -ENOSYS;
}