bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Remove spurious semicolon in fpu.c


From: Andrea G. Monaco
Subject: [PATCH] Remove spurious semicolon in fpu.c
Date: Thu, 11 Feb 2021 12:37:36 +0100

Hello,


this spurious semicolon made my system always panic at boot.


Warmly,
Andrea Monaco



diff --git a/i386/i386/fpu.c b/i386/i386/fpu.c
index b9dff733..a8459d65 100644
--- a/i386/i386/fpu.c
+++ b/i386/i386/fpu.c
@@ -191,7 +191,7 @@ init_fpu(void)
                        ecx = 0x0;
                        cpuid(eax, ebx, ecx, edx);
                        fp_xsave_size = offsetof(struct i386_fpsave_state, 
xfp_save_state) + ebx;
-                       if(fp_xsave_size < sizeof(struct i386_fpsave_state));
+                       if(fp_xsave_size < sizeof(struct i386_fpsave_state))
                                panic("CPU-provided xstate size %d "
                                      "is smaller than our minimum %d!\n",
                                      fp_xsave_size,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]