projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9ac59a
)
sync: fix erase-o in sync_fence_wait
author
Erik Gilling
<konkers@android.com>
Wed, 22 Aug 2012 01:43:21 +0000
(18:43 -0700)
committer
黄涛
<huangtao@rock-chips.com>
Fri, 22 Feb 2013 09:47:05 +0000
(17:47 +0800)
Change-Id: I189707cf658a9f1f2943515c891b43961994e774
Signed-off-by: Erik Gilling <konkers@android.com>
drivers/base/sync.c
patch
|
blob
|
history
diff --git
a/drivers/base/sync.c
b/drivers/base/sync.c
index 59631d512650fbc15646cb74367bcdac4e2597dd..8c72dbb179196764f06165d65d903c476803b302 100644
(file)
--- a/
drivers/base/sync.c
+++ b/
drivers/base/sync.c
@@
-567,7
+567,7
@@
int sync_fence_wait(struct sync_fence *fence, long timeout)
err = wait_event_interruptible_timeout(fence->wq,
fence->status != 0,
timeout);
- } else if (timeout < 0{
+ } else if (timeout < 0
)
{
err = wait_event_interruptible(fence->wq, fence->status != 0);
}