OSDN Git Service
(root)
/
uclinux-h8
/
linux.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
|
history
diff --git
a/drivers/dma-buf/fence.c
b/drivers/dma-buf/fence.c
index
4d51f9e
..
cc05ddd
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;