linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm26: kernel/irq.c: fix compilation
@ 2006-01-14 22:40 Alexey Dobriyan
  2006-01-15 23:04 ` Ian Molton
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2006-01-14 22:40 UTC (permalink / raw)
  To: Ian Molton; +Cc: linux-kernel, Al Viro

It's trying to "continue;" in "if" statement.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 arch/arm26/kernel/irq.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/arch/arm26/kernel/irq.c
+++ b/arch/arm26/kernel/irq.c
@@ -141,7 +141,7 @@ int show_interrupts(struct seq_file *p, 
 	if (i < NR_IRQS) {
 	    	action = irq_desc[i].action;
 		if (!action)
-			continue;
+			goto out;
 		seq_printf(p, "%3d: %10u ", i, kstat_irqs(i));
 		seq_printf(p, "  %s", action->name);
 		for (action = action->next; action; action = action->next) {
@@ -152,6 +152,7 @@ int show_interrupts(struct seq_file *p, 
 		show_fiq_list(p, v);
 		seq_printf(p, "Err: %10lu\n", irq_err_count);
 	}
+out:
 	return 0;
 }
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm26: kernel/irq.c: fix compilation
  2006-01-14 22:40 [PATCH] arm26: kernel/irq.c: fix compilation Alexey Dobriyan
@ 2006-01-15 23:04 ` Ian Molton
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Molton @ 2006-01-15 23:04 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: linux-kernel, Al Viro

Alexey Dobriyan wrote:
> It's trying to "continue;" in "if" statement.

This ones been submitted before - guess it never made it.

Thanks!

Signed-off-by: Ian Molton <spyro@f2s.com>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>

  arch/arm26/kernel/irq.c |    3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

--- a/arch/arm26/kernel/irq.c
+++ b/arch/arm26/kernel/irq.c
@@ -141,7 +141,7 @@ int show_interrupts(struct seq_file *p,
  	if (i < NR_IRQS) {
  	    	action = irq_desc[i].action;
  		if (!action)
-			continue;
+			goto out;
  		seq_printf(p, "%3d: %10u ", i, kstat_irqs(i));
  		seq_printf(p, "  %s", action->name);
  		for (action = action->next; action; action = action->next) {
@@ -152,6 +152,7 @@ int show_interrupts(struct seq_file *p,
  		show_fiq_list(p, v);
  		seq_printf(p, "Err: %10lu\n", irq_err_count);
  	}
+out:
  	return 0;
  }





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-15 23:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-14 22:40 [PATCH] arm26: kernel/irq.c: fix compilation Alexey Dobriyan
2006-01-15 23:04 ` Ian Molton

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).