linux-stable/drivers/dma-buf
Chris Wilson 83dd1376fd 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
2017-01-09 20:05:31 +05:30
..
dma-buf.c dma-buf: Use recommended structure member reference 2016-12-30 13:34:16 +01:00
dma-fence-array.c dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
dma-fence.c dma-fence: Clear fence->status during dma_fence_init() 2017-01-09 20:05:31 +05:30
Kconfig dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
Makefile dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
reservation.c reservation: revert "wait only with non-zero timeout specified (v3)" v2 2016-11-09 00:48:57 +05:30
seqno-fence.c dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
sw_sync.c dma-buf/sw_sync: put fence reference from the fence creation 2016-11-08 23:57:40 +05:30
sync_debug.c dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
sync_debug.h dma-buf: Rename struct fence to dma_fence 2016-10-25 14:40:39 +02:00
sync_file.c dma-buf: Reorganize device dma access docs 2016-12-13 17:09:51 +05:30
sync_trace.h dma-buf/sw_sync: de-stage SW_SYNC 2016-08-15 16:41:46 +02:00