aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-01-04 14:12:20 +0000
committerSumit Semwal <[email protected]>2017-01-09 20:05:31 +0530
commit83dd1376fd92f33bdeca9e83d479534a4e7f870b (patch)
tree062ec99563e6ad82b5c5d912087c64bd4a771e7e /scripts/gcc-plugins/cyc_complexity_plugin.c
parent011cda589938e56eb93685dee8ead0bb0506f9e2 (diff)
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 <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Reviewed-by: Sumit Semwal <[email protected]> Signed-off-by: Sumit Semwal <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions