From nobody Thu May 16 19:48:08 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1691146607696855.1403294752637; Fri, 4 Aug 2023 03:56:47 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.577100.903979 (Exim 4.92) (envelope-from ) id 1qRsTp-0006S5-QP; Fri, 04 Aug 2023 10:56:25 +0000 Received: by outflank-mailman (output) from mailman id 577100.903979; Fri, 04 Aug 2023 10:56:25 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qRsTp-0006Ry-Nh; Fri, 04 Aug 2023 10:56:25 +0000 Received: by outflank-mailman (input) for mailman id 577100; Fri, 04 Aug 2023 10:56:25 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qRsTp-0006Rs-2S for xen-devel@lists.xenproject.org; Fri, 04 Aug 2023 10:56:25 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 8c9d7087-32b5-11ee-8613-37d641c3527e; Fri, 04 Aug 2023 12:56:22 +0200 (CEST) Received: from Dell.homenet.telecomitalia.it (host-79-35-203-138.retail.telecomitalia.it [79.35.203.138]) by support.bugseng.com (Postfix) with ESMTPSA id BDD174EE0737; Fri, 4 Aug 2023 12:56:21 +0200 (CEST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 8c9d7087-32b5-11ee-8613-37d641c3527e From: Federico Serafini To: xen-devel@lists.xenproject.org Cc: consulting@bugseng.com, Federico Serafini , Jan Beulich , Andrew Cooper , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Wei Liu Subject: [XEN PATCH] x86/processor: drop bool_t from mcheck_init() parameter Date: Fri, 4 Aug 2023 12:56:15 +0200 Message-Id: <26b30382b1b3daffb829ceb34d39c14185e9e147.1691146541.git.federico.serafini@bugseng.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1691146610074100001 Content-Type: text/plain; charset="utf-8" Drop bool_t to make the function declaration consistent with the corresponding definition. This addresses a violation of MISRA C:2012 Rule 8.3 ("All declarations of an object or function shall use the same names and type qualifiers"). No functional change. Signed-off-by: Federico Serafini --- xen/arch/x86/include/asm/processor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/include/asm/processor.h b/xen/arch/x86/include/as= m/processor.h index 0989748be6..ae43ba5dc9 100644 --- a/xen/arch/x86/include/asm/processor.h +++ b/xen/arch/x86/include/asm/processor.h @@ -415,7 +415,7 @@ void noreturn fatal_trap(const struct cpu_user_regs *re= gs, bool_t show_remote); extern void mtrr_ap_init(void); extern void mtrr_bp_init(void); =20 -void mcheck_init(struct cpuinfo_x86 *c, bool_t bsp); +void mcheck_init(struct cpuinfo_x86 *c, bool bsp); =20 void do_nmi(const struct cpu_user_regs *regs); void do_machine_check(const struct cpu_user_regs *regs); --=20 2.34.1