Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2026 21:12:54 +0000
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 96256587b06c - main - ucode: ucode_error can be defined with static
Message-ID:  <6a175e56.245a9.3038e1cf@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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,


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a175e56.245a9.3038e1cf>