Skip to content

Commit

Permalink
drm/qxl: drop WARN_ONCE()
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Gerd Hoffmann committed May 27, 2019
1 parent f3617b4 commit 95b74ce
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/gpu/drm/qxl/qxl_prime.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 95b74ce

Please sign in to comment.