[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 09/19] x86: Preinitialise all modules to be of kind BOOTMOD_UNKNOWN
- To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Alejandro Vallejo <agarciav@xxxxxxx>
- Date: Fri, 30 May 2025 14:02:17 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KCNBXPXD2aKN1qe1F0kvtAXVlpJprW3tfZvK/Z8sjKc=; b=HPskpW0DkqHpsjORbSMq2hA2HisLfCY0GeoYgJyR44vpCyLnioHNiX9P74HxQ+nIsf2vK2LaDAqFSEIq6gHqq5lgQTpuBhHeaAwzN1qyccJGEQk8St7RE3AEbO77N4+ppHZbgghyo8uuVPgSuSdO4cW/X4Fzp5ignn5/lH1woJmHZwFBHe/nRsCSVjXsCVmwA8NGCdZTd1fYxX/JNM1VKk7vjP3rVoJVHYfD/ZGgWnzOJ5vq/1OxnyFiyOSQuLro70ubCIrogHIlMgWLQGnEI4eClPDVlRgILrfY+XQraXzLnbfJvWmfZlJKmGCj6J04ihSNsUMzjffskG8IEAP9IQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=I2l1Toe2RZF/N4xhqBhqqgmVCR/CDiSq47ExVoV0yZ6FqpcOp+ZnfVNrTf0SiyVgriNpMhAXiWY/SW/92itvWGe8Uv4IFJ4yzN7nOJLUb5OpMR2BwbKeI5xnoRIRQosl2g4UtLesEFp5K8FFLIAAle9d274GYYcxlr4kXnrUMLCqotgmRKVYNBmISMcdihlozH6tsz4DCjjVj2xn1l/6jvZJ6lka090H763f8rUp2jKG/6kTDZLxV0dPr/PoY5PQwrTTRPamNoYJQ2cmMln5buu6UhaWbnViaGQcadgEQ80SbVni1ki96kXuODBQjLtEBIGZi6xOPtnLvzdvEiH5rQ==
- Cc: Alejandro Vallejo <agarciav@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Fri, 30 May 2025 12:11:30 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
A later patch removes boot_module and replaces its uses with bootmodule.
The equivalent field for "type" doesn't have BOOTMOD_UNKNOWN as a zero
value, so it must be explicitly set in the static xen_boot_info.
Not a functional change.
Signed-off-by: Alejandro Vallejo <agarciav@xxxxxxx>
---
xen/arch/x86/setup.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c
index 1f5cb67bd0..5da9df33c9 100644
--- a/xen/arch/x86/setup.c
+++ b/xen/arch/x86/setup.c
@@ -298,6 +298,7 @@ struct boot_info __initdata xen_boot_info = {
.loader = "unknown",
.cmdline = "",
.domains = { [0 ... MAX_NR_BOOTDOMS - 1] = { .domid = DOMID_INVALID } },
+ .mods = { [0 ... MAX_NR_BOOTMODS] = { .type = BOOTMOD_UNKNOWN } },
};
static struct boot_info *__init multiboot_fill_boot_info(
--
2.43.0
|