Commit 95b74ce8 authored by Gerd Hoffmann's avatar Gerd Hoffmann

drm/qxl: drop WARN_ONCE()

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: default avatarGerd Hoffmann <kraxel@redhat.com>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20190524104251.22761-1-kraxel@redhat.com
parent f3617b44
...@@ -77,6 +77,5 @@ void qxl_gem_prime_vunmap(struct drm_gem_object *obj, void *vaddr) ...@@ -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, int qxl_gem_prime_mmap(struct drm_gem_object *obj,
struct vm_area_struct *area) struct vm_area_struct *area)
{ {
WARN_ONCE(1, "not implemented");
return -ENOSYS; return -ENOSYS;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment