* [PATCH] staging: android: use braces on all arms of if
@ 2014-09-02 19:24 Grzegorz Swirski
0 siblings, 0 replies; only message in thread
From: Grzegorz Swirski @ 2014-09-02 19:24 UTC (permalink / raw)
To: gregkh
Cc: john.stultz, dipakzope.kernel.org, daniel, waydi1, grzegorz,
alistair.strachan, pkamliya, maarten.lankhorst, devel,
linux-kernel
Signed-off-by: Grzegorz Swirski <grzegorz@swirski.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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-09-02 19:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-02 19:24 [PATCH] staging: android: use braces on all arms of if Grzegorz Swirski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).