git: 96256587b06c - main - ucode: ucode_error can be defined with static
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 May 2026 21:12:54 UTC
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=96256587b06cfcdbeb1789145f5e427831b3d732
commit 96256587b06cfcdbeb1789145f5e427831b3d732
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-05-27 20:41:15 +0000
Commit: Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-05-27 21:12:35 +0000
ucode: ucode_error can be defined with static
MFC after: 1 week
---
sys/x86/x86/ucode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/x86/x86/ucode.c b/sys/x86/x86/ucode.c
index 2e996331dd2e..3d7008eb30f2 100644
--- a/sys/x86/x86/ucode.c
+++ b/sys/x86/x86/ucode.c
@@ -80,7 +80,7 @@ static const void *ucode_data;
static struct ucode_ops *ucode_loader;
/* Variables used for reporting success or failure. */
-enum {
+static enum {
NO_ERROR,
NO_MATCH,
VERIFICATION_FAILED,