Commit 220f115e authored by Grzegorz Swirski's avatar Grzegorz Swirski Committed by Greg Kroah-Hartman

staging: android: use braces on all arms of if

Signed-off-by: default avatarGrzegorz Swirski <grzegorz@swirski.name>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d8b0e423
...@@ -387,9 +387,9 @@ int sync_fence_wait(struct sync_fence *fence, long timeout) ...@@ -387,9 +387,9 @@ int sync_fence_wait(struct sync_fence *fence, long timeout)
timeout); timeout);
trace_sync_wait(fence, 0); trace_sync_wait(fence, 0);
if (ret < 0) if (ret < 0) {
return ret; return ret;
else if (ret == 0) { } else if (ret == 0) {
if (timeout) { if (timeout) {
pr_info("fence timeout on [%p] after %dms\n", fence, pr_info("fence timeout on [%p] after %dms\n", fence,
jiffies_to_msecs(timeout)); jiffies_to_msecs(timeout));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment