arm26: kernel/irq.c: fix compilation
diff mbox series

Message ID 20060114224043.GA9982@mipter.zuzino.mipt.ru
State New, archived
Headers show
Series
  • arm26: kernel/irq.c: fix compilation
Related show

Commit Message

Alexey Dobriyan Jan. 14, 2006, 10:40 p.m. UTC
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(-)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Comments

Ian molton Jan. 15, 2006, 11:04 p.m. UTC | #1
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;
  }




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Patch
diff mbox series

--- 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;
 }