From da588d69ec12d5374794cbaf1d3e315ffbea5a8e Mon Sep 17 00:00:00 2001 From: Giacomo Tesio Date: Mon, 14 Aug 2017 15:22:51 +0200 Subject: [PATCH] kernel: fpprocfork: fix CID 174315 (Missing break in switch) --- sys/src/kern/amd64/fpu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/src/kern/amd64/fpu.c b/sys/src/kern/amd64/fpu.c index 57b8fd3..ee2d133 100644 --- a/sys/src/kern/amd64/fpu.c +++ b/sys/src/kern/amd64/fpu.c @@ -257,6 +257,7 @@ fpprocfork(Proc *p) case FPactive: fpsave(&up->fpsave); up->fpstate = FPinactive; + /* fallthrough */ case FPinactive: p->fpsave = up->fpsave; p->fpstate = FPinactive;