projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
714cf7e
)
dma-buf/fence: add an lockdep_assert_held()
author
Rob Clark
<robdclark@gmail.com>
Mon, 24 Oct 2016 19:57:10 +0000
(15:57 -0400)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 25 Oct 2016 06:54:09 +0000
(08:54 +0200)
Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link:
http://patchwork.freedesktop.org/patch/msgid/1477339030-32657-1-git-send-email-robdclark@gmail.com
drivers/dma-buf/fence.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma-buf/fence.c
b/drivers/dma-buf/fence.c
index 4d51f9e83fa83ad9a815cb8525756437d81fe650..cc05dddc77a6c23ed106f8dd755af5e7348ef3df 100644
(file)
--- a/
drivers/dma-buf/fence.c
+++ b/
drivers/dma-buf/fence.c
@@
-68,6
+68,8
@@
int fence_signal_locked(struct fence *fence)
struct fence_cb *cur, *tmp;
int ret = 0;
+ lockdep_assert_held(fence->lock);
+
if (WARN_ON(!fence))
return -EINVAL;