projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de49978
)
dma-buf: Avoid comma separated statements
author
Joe Perches
<joe@perches.com>
Tue, 25 Aug 2020 04:56:05 +0000
(21:56 -0700)
committer
Christian König
<christian.koenig@amd.com>
Wed, 3 Feb 2021 13:49:27 +0000
(14:49 +0100)
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>
drivers/dma-buf/st-dma-fence.c
patch
|
blob
|
history
diff --git
a/drivers/dma-buf/st-dma-fence.c
b/drivers/dma-buf/st-dma-fence.c
index e593064341c8c2a973546eeab98acc8f16ef0f71..c8a12d7ad71ab6baef2298b60619b0d25edc2d03 100644
(file)
--- a/
drivers/dma-buf/st-dma-fence.c
+++ b/
drivers/dma-buf/st-dma-fence.c
@@
-471,8
+471,11
@@
static int thread_signal_callback(void *arg)
dma_fence_signal(f1);
smp_store_mb(cb.seen, false);
- if (!f2 || dma_fence_add_callback(f2, &cb.cb, simple_callback))
- miss++, cb.seen = true;
+ if (!f2 ||
+ dma_fence_add_callback(f2, &cb.cb, simple_callback)) {
+ miss++;
+ cb.seen = true;
+ }
if (!t->before)
dma_fence_signal(f1);