Commit 70044df4 authored by Sam Ravnborg's avatar Sam Ravnborg Committed by David S. Miller

sparc32, sun4d: add comment in empty statement in sun4d_request_irq()

This looked like a bug to me.
Add a comment so next reader is hopefully less confused.
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a625a12a
...@@ -307,7 +307,8 @@ int sun4d_request_irq(unsigned int irq, ...@@ -307,7 +307,8 @@ int sun4d_request_irq(unsigned int irq,
if (action) { if (action) {
if ((action->flags & IRQF_SHARED) && (irqflags & IRQF_SHARED)) { 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 { } else {
ret = -EBUSY; ret = -EBUSY;
goto out_unlock; goto out_unlock;
......
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