[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/5] x86/cpu: Add break to early_cpu_init() switch
- To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>
- Date: Wed, 18 Nov 2026 18:17:52 +0100
- 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=RhCxaoYFdF/YkecV/5jll5MbBTtNX16YZDf7YohbE2k=; b=bT1qS1YFYSbOmwMiY5NEP7zlNcaKsftEFZUZUrA23Sym7CaSQrUTmUjg/2bE2T8HzLaRBgmG6FQF0Zz/UtgDNu01TVdzP1Q6cSo1wTwLyzxx3nOMuWRzFAnu/9mLMCXbPu/xFfIFEkoOhtKa8lJjtEJeTW2SZmJJoss15yvNQPrQ7OXoProaZT8/GANqgBlje4elKZHlTC0fqdCG+xcI3h/fhoypie3b6nfdWE7zLkU69MpQYBRPfGoivXH86A6YQDrCVeWrfL3Tl8vE9qV3rLi8aQDnZZo+DLN6Z7fRnR09oRGISBYt4b48afU58OYlX4qG9IEHGzr+gaIrq/T2ig==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=PHGipCn1CUBqM4NHPCkH8zOLAc/9kKjJlbk/yEvlA/J5GSVuEwzVEGGhDitDmNQJXbg9l/qIRTO9hEBvdh7CSUMR3pZejY9YORrZ29VSJips/+84GykPhHHg7VSDM1t4rnlS3C3U7Rgye1oZ0xA6qCj779yjCLgNKOCdowygyDHz8qarjgEAnzu8qWHKtpiCDNMWSPaLw85+eZNwIVQ2MhEZ9I5YCUKY8+EnqcsaHo7ljxqi0T2mK7mFHLy0Jmb85TfwbZWbhmFA4kx7ZZqFzt+S8c8EgJ3lRO35qwzblknIg9r+BV07POJRN7KS0i4dMvHNbIMHWRWNkW4S+jlu6w==
- Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=amd.com header.i="@amd.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"
- Cc: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger@xxxxxxxxxxxxxx>, Teddy Astie <teddy.astie@xxxxxxxxxx>
- Delivery-date: Wed, 18 Nov 2026 17:18:23 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
MISRA C Rule 16.3 requires every switch clause to be terminated by an
unconditional break statement.
No functional change.
Signed-off-by: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>
---
xen/arch/x86/cpu/common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/xen/arch/x86/cpu/common.c b/xen/arch/x86/cpu/common.c
index 43785d19cc..54e3a02dd1 100644
--- a/xen/arch/x86/cpu/common.c
+++ b/xen/arch/x86/cpu/common.c
@@ -341,6 +341,7 @@ void __init early_cpu_init(bool verbose)
printk(XENLOG_ERR
"Unrecognised or unsupported CPU vendor '%.12s'\n",
c->x86_vendor_id);
+ break;
}
cpuid(0x00000001, &eax, &ebx, &ecx, &edx);
--
2.43.0
|