summaryrefslogtreecommitdiffstats
path: root/drivers/dma-buf/sync_debug.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-01-04 15:12:20 +0100
committerSumit Semwal <sumit.semwal@linaro.org>2017-01-09 15:35:31 +0100
commit83dd1376fd92f33bdeca9e83d479534a4e7f870b (patch)
tree062ec99563e6ad82b5c5d912087c64bd4a771e7e /drivers/dma-buf/sync_debug.c
parentdrm: fix compilations issues introduced by "drm: allow to use mmuless SoC" (diff)
downloadlinux-83dd1376fd92f33bdeca9e83d479534a4e7f870b.tar.xz
linux-83dd1376fd92f33bdeca9e83d479534a4e7f870b.zip
dma-fence: Clear fence->status during dma_fence_init()
As the fence->status is an optional field that may be set before dma_fence_signal() is called to convey that the fence completed with an error, we have to ensure that it is always set to zero on initialisation so that the typical use (i.e. unset) always flags a successful completion. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Sumit Semwal <sumit.semwal@linaro.org> Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org> Link: http://patchwork.freedesktop.org/patch/msgid/20170104141222.6992-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/dma-buf/sync_debug.c')
0 files changed, 0 insertions, 0 deletions