projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
716821c
)
powerpc/macintosh/smu.c: Fix closing brace followed by if
author
Rasmus Villemoes
<linux@rasmusvillemoes.dk>
Fri, 20 Jun 2014 19:44:27 +0000
(21:44 +0200)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Tue, 24 Jun 2014 02:43:15 +0000
(12:43 +1000)
A closing brace followed by "if" is almost certainly a mistake. Maybe
"else if" was meant, but in this case it doesn't really matter.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/macintosh/smu.c
patch
|
blob
|
history
diff --git
a/drivers/macintosh/smu.c
b/drivers/macintosh/smu.c
index 23b4a3b28dbcec0152f1f348c4e2f9ff634c0902..4eab93aa570bc23a3fedfee3de346614f4974171 100644
(file)
--- a/
drivers/macintosh/smu.c
+++ b/
drivers/macintosh/smu.c
@@
-1257,7
+1257,8
@@
static unsigned int smu_fpoll(struct file *file, poll_table *wait)
if (pp->busy && pp->cmd.status != 1)
mask |= POLLIN;
spin_unlock_irqrestore(&pp->lock, flags);
- } if (pp->mode == smu_file_events) {
+ }
+ if (pp->mode == smu_file_events) {
/* Not yet implemented */
}
return mask;