[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1409685844-827-1-git-send-email-grzegorz@swirski.name>
Date: Tue, 2 Sep 2014 20:24:04 +0100
From: Grzegorz Swirski <grzegorz@...rski.name>
To: gregkh@...uxfoundation.org
Cc: john.stultz@...aro.org, dipakzope.kernel.org@...il.com,
daniel@...ll.ch, waydi1@...il.com, grzegorz@...rski.name,
alistair.strachan@...tec.com, pkamliya@...eaurora.org,
maarten.lankhorst@...onical.com, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] staging: android: use braces on all arms of if
Signed-off-by: Grzegorz Swirski <grzegorz@...rski.name>
---
drivers/staging/android/sync.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/android/sync.c b/drivers/staging/android/sync.c
index 0d37495..c5255dc 100644
--- a/drivers/staging/android/sync.c
+++ b/drivers/staging/android/sync.c
@@ -387,9 +387,9 @@ int sync_fence_wait(struct sync_fence *fence, long timeout)
timeout);
trace_sync_wait(fence, 0);
- if (ret < 0)
+ if (ret < 0) {
return ret;
- else if (ret == 0) {
+ } else if (ret == 0) {
if (timeout) {
pr_info("fence timeout on [%p] after %dms\n", fence,
jiffies_to_msecs(timeout));
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists