projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e826b6c
)
drm/qxl: unset a pointer in sync_obj_unref
author
Maarten Lankhorst
<maarten.lankhorst@canonical.com>
Tue, 1 Apr 2014 13:15:47 +0000
(15:15 +0200)
committer
Jiri Slaby
<jslaby@suse.cz>
Thu, 29 May 2014 09:38:26 +0000
(11:38 +0200)
commit
41ccec352f3c823931a7d9d2a9c7880c14d7415a
upstream.
This fixes a BUG_ON(bo->sync_obj != NULL); in ttm_bo_release_list.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/gpu/drm/qxl/qxl_ttm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/qxl/qxl_ttm.c
b/drivers/gpu/drm/qxl/qxl_ttm.c
index 037786d7c1dc882d89d73d544460182fdf0df0cf..ed90fbe63686a4e62ee1b25e2f209b847736614d 100644
(file)
--- a/
drivers/gpu/drm/qxl/qxl_ttm.c
+++ b/
drivers/gpu/drm/qxl/qxl_ttm.c
@@
-433,6
+433,7
@@
static int qxl_sync_obj_flush(void *sync_obj)
static void qxl_sync_obj_unref(void **sync_obj)
{
+ *sync_obj = NULL;
}
static void *qxl_sync_obj_ref(void *sync_obj)