[ECOS] missing return

Jesper Skov jskov@redhat.com
Thu Nov 8 07:33:00 GMT 2001


>>>>> "Christoph" == Christoph Csebits <christoph.csebits@frequentis.com> writes:

Christoph> hi there is a "return" missing in non-void function
Christoph> "hal_arch_default_isr" in
Christoph> packages/hal/powerpc/arch/current/src/hal_misc.c

I've committed the below.

Thanks,
Jesper

Index: ChangeLog
===================================================================
RCS file: /local/cvsfiles/ecc/ecc/hal/powerpc/arch/current/ChangeLog,v
retrieving revision 1.239
diff -u -u -5 -r1.239 ChangeLog
--- ChangeLog	23 Feb 2001 09:08:24 -0000	1.239
+++ ChangeLog	15 Nov 2001 13:10:49 -0000
@@ -1,5 +1,10 @@
+2001-11-15  Jesper Skov  <jskov@redhat.com>
+
+	* src/hal_misc.c (hal_arch_default_isr): Added return
+	statement (found by Christoph Csebits).
+
 2001-02-23  Jesper Skov  <jskov@redhat.com>
 
 	* src/powerpc.ld: Added .2ram section matching to .data section.
 
 2001-02-05  Jesper Skov  <jskov@redhat.com>
Index: src/hal_misc.c
===================================================================
RCS file: /local/cvsfiles/ecc/ecc/hal/powerpc/arch/current/src/hal_misc.c,v
retrieving revision 1.67
diff -u -u -5 -r1.67 hal_misc.c
--- src/hal_misc.c	23 Oct 2000 09:23:48 -0000	1.67
+++ src/hal_misc.c	15 Nov 2001 13:10:08 -0000
@@ -214,10 +214,11 @@
 }
 #else
 externC cyg_uint32
 hal_arch_default_isr(CYG_ADDRWORD vector, CYG_ADDRWORD data)
 {
+    return 0;
 }
 #endif
 
 // The decrementer default ISR has to do nothing. The reason is that
 // decrementer interrupts cannot be disabled - if a kernel configuration



More information about the Ecos-discuss mailing list