mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
dma-buf: Avoid comma separated statements
Use semicolons and braces.
Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/990bf6f33ccaf73ad56eb4bea8bd2c0db5e90a31.1598331148.git.joe@perches.com
Signed-off-by: Christian König <christian.koenig@amd.com>
(cherry picked from commit e4abd7ad2b
)
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
This commit is contained in:
committed by
Maarten Lankhorst
parent
de4248b744
commit
46d4a938fe
@@ -471,8 +471,11 @@ static int thread_signal_callback(void *arg)
|
|||||||
dma_fence_signal(f1);
|
dma_fence_signal(f1);
|
||||||
|
|
||||||
smp_store_mb(cb.seen, false);
|
smp_store_mb(cb.seen, false);
|
||||||
if (!f2 || dma_fence_add_callback(f2, &cb.cb, simple_callback))
|
if (!f2 ||
|
||||||
miss++, cb.seen = true;
|
dma_fence_add_callback(f2, &cb.cb, simple_callback)) {
|
||||||
|
miss++;
|
||||||
|
cb.seen = true;
|
||||||
|
}
|
||||||
|
|
||||||
if (!t->before)
|
if (!t->before)
|
||||||
dma_fence_signal(f1);
|
dma_fence_signal(f1);
|
||||||
|
Reference in New Issue
Block a user