mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
sync: don't log wait timeouts when timeout = 0
Signed-off-by: Erik Gilling <konkers@android.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user