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:
df5c61b
)
sync: don't log wait timeouts when timeout = 0
author
Erik Gilling
<konkers@android.com>
Mon, 4 Feb 2013 20:37:16 +0000
(12:37 -0800)
committer
黄涛
<huangtao@rock-chips.com>
Fri, 22 Feb 2013 09:47:21 +0000
(17:47 +0800)
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 775cab546fe60bb9c99647803d01bcd57b9c0ae2..f35a975297f43723ebc4f03745fcb5ce88568ab0 100644
(file)
--- a/
drivers/base/sync.c
+++ b/
drivers/base/sync.c
@@
-615,7
+615,7
@@
int sync_fence_wait(struct sync_fence *fence, long timeout)
return fence->status;
}
- if (fence->status == 0) {
+ if (fence->status == 0
&& timeout > 0
) {
pr_info("fence timeout on [%p] after %dms\n", fence,
jiffies_to_msecs(timeout));
sync_dump();