svn commit: r355375 - head/sys/x86/x86

Conrad Meyer cem at FreeBSD.org
Wed Dec 4 02:42:23 UTC 2019


Author: cem
Date: Wed Dec  4 02:42:22 2019
New Revision: 355375
URL: https://svnweb.freebsd.org/changeset/base/355375

Log:
  x86: Add missed break to TAA status sysctl
  
  Just a typo that Coverity identified.
  
  Coverity also identified an unused store in the same functional area (x86 TAA
  stuff), but this commit does not address that issue (CID 1408334).
  
  Reported by:	Coverity
  CID:		1408328, 1408332

Modified:
  head/sys/x86/x86/cpu_machdep.c

Modified: head/sys/x86/x86/cpu_machdep.c
==============================================================================
--- head/sys/x86/x86/cpu_machdep.c	Tue Dec  3 23:20:19 2019	(r355374)
+++ head/sys/x86/x86/cpu_machdep.c	Wed Dec  4 02:42:22 2019	(r355375)
@@ -1332,6 +1332,7 @@ sysctl_taa_state_handler(SYSCTL_HANDLER_ARGS)
 		break;
 	case TAA_NOT_PRESENT:
 		state = "TSX not present";
+		break;
 	default:
 		state = "unknown";
 	}


More information about the svn-src-all mailing list