projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a625a12
)
sparc32, sun4d: add comment in empty statement in sun4d_request_irq()
author
Sam Ravnborg
<sam@ravnborg.org>
Fri, 28 Jan 2011 22:08:23 +0000
(22:08 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 17 Mar 2011 01:19:11 +0000
(18:19 -0700)
This looked like a bug to me.
Add a comment so next reader is hopefully less confused.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/sun4d_irq.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sparc/kernel/sun4d_irq.c
b/arch/sparc/kernel/sun4d_irq.c
index b2e3fbf7c6facf0865a2fcf150f371c6fdd8546f..609a13c85823a6c519a3e1689ee0475138d9545e 100644
(file)
--- a/
arch/sparc/kernel/sun4d_irq.c
+++ b/
arch/sparc/kernel/sun4d_irq.c
@@
-307,7
+307,8
@@
int sun4d_request_irq(unsigned int irq,
if (action) {
if ((action->flags & IRQF_SHARED) && (irqflags & IRQF_SHARED)) {
- for (tmp = action; tmp->next; tmp = tmp->next);
+ for (tmp = action; tmp->next; tmp = tmp->next)
+ /* find last entry - tmp used below */;
} else {
ret = -EBUSY;
goto out_unlock;