Module Name:    src
Committed By:   isaki
Date:           Fri Jan  3 05:42:50 UTC 2025

Modified Files:
        src/sys/arch/m68k/fpe: fpu_fstore.c

Log Message:
m68k/fpe: Add a missing return.
FMOVE.P FPn,<ea> now raises SIGFPE. (Our FPE doesn't support .P)


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/m68k/fpe/fpu_fstore.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/m68k/fpe/fpu_fstore.c
diff -u src/sys/arch/m68k/fpe/fpu_fstore.c:1.14 src/sys/arch/m68k/fpe/fpu_fstore.c:1.15
--- src/sys/arch/m68k/fpe/fpu_fstore.c:1.14	Tue Mar 26 11:30:21 2013
+++ src/sys/arch/m68k/fpe/fpu_fstore.c	Fri Jan  3 05:42:50 2025
@@ -1,4 +1,4 @@
-/*	$NetBSD: fpu_fstore.c,v 1.14 2013/03/26 11:30:21 isaki Exp $	*/
+/*	$NetBSD: fpu_fstore.c,v 1.15 2025/01/03 05:42:50 isaki Exp $	*/
 
 /*
  * Copyright (c) 1995 Ken Nakata
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpu_fstore.c,v 1.14 2013/03/26 11:30:21 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpu_fstore.c,v 1.15 2025/01/03 05:42:50 isaki Exp $");
 
 #include <sys/types.h>
 #include <sys/signal.h>
@@ -79,7 +79,7 @@ fpu_emul_fstore(struct fpemu *fe, struct
 #if DEBUG_FPE
 		printf("  fpu_emul_fstore: invalid format %d\n", format);
 #endif
-		sig = SIGFPE;
+		return SIGFPE;
 	}
 #if DEBUG_FPE
 	printf("  fpu_emul_fstore: format %d, size %d\n",

Reply via email to