From nobody Wed Nov 5 05:38:30 2025 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; dkim=pass; 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; dmarc=pass(p=none dis=none) header.from=bugseng.com ARC-Seal: i=1; a=rsa-sha256; t=1725962983; cv=none; d=zohomail.com; s=zohoarc; b=X/vBR0qFAiPU9e32iH31uWB81nl7lDwfrD790edeR8koASfppBD6gpwD1V9HelPXKtamzqh5yG7pVUjYOJI9JFnDunRwjNsTSX0GX0Ra+6tS/OegpLy8qbB1YAj/KEinlx/1Ez2Ykwzuqusmt8DoD6+Q1kR9lpgEoBSW4ZLguUA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1725962983; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=Xkp6HT0a5dz+5GMf1WJN/lP5kMJ4KHo3y6NuXHIWQAM=; b=gbTOPdNtsl0+jQC0TF5FACHZNycd8hMuIm0NJkp3tOicaPolbMNKxIX2WwYRm2Cb4vpyWB/0nqB1eez9kipm2uHSH+g5pchwqWoTrKeOCISZqLSU+EWKUblkj9C1uy/LIGqo+9CwGdzfI+RniDTt8chJZl0x1O7NW4aGqGhZHME= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1725962983549189.14362173377594; Tue, 10 Sep 2024 03:09:43 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.795242.1204541 (Exim 4.92) (envelope-from ) id 1snxoJ-0000d7-R5; Tue, 10 Sep 2024 10:09:23 +0000 Received: by outflank-mailman (output) from mailman id 795242.1204541; Tue, 10 Sep 2024 10:09:23 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1snxoJ-0000a2-Im; Tue, 10 Sep 2024 10:09:23 +0000 Received: by outflank-mailman (input) for mailman id 795242; Tue, 10 Sep 2024 10:09:21 +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 1snxoH-0006in-7W for xen-devel@lists.xenproject.org; Tue, 10 Sep 2024 10:09:21 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id bd0603c7-6f5c-11ef-99a1-01e77a169b0f; Tue, 10 Sep 2024 12:09:17 +0200 (CEST) Received: from truciolo.homenet.telecomitalia.it (host-79-37-206-90.retail.telecomitalia.it [79.37.206.90]) by support.bugseng.com (Postfix) with ESMTPSA id AB63D4EE07BF; Tue, 10 Sep 2024 12:09:16 +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: bd0603c7-6f5c-11ef-99a1-01e77a169b0f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bugseng.com; s=mail; t=1725962957; bh=0WA5TNOak9DHiUvT2R0QjGNY4akxGWSuMkA+27BsZOo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Xj7QyxZIHcQgACVj658oqOuFJHdjfzr6Ug0bc0xSufGg9hOhCdN8pPUY1/qVQpWb/ HNVEAmk+6RKnPODopuMtLrcl6KqtaTOwDOQfJwW/Bqp2z5CVSMQX9gGoyGy8Swtdz9 AFd96ovXptUAmcexCgOL8pi5/F/Muek4Cm29jXAUrKp29osOw9ZvVGkdHLVVd959WU QZX8bWSD7YN6IcUYosL7zN7O72lD9tYKd8Af8xKreBEQ7tegJKWlVj3m7baZZbxGam CDEvO5CfNhDdNP1l2r7uPqcfWZlIzucelBKQv0NoGYT3h0f7ojCW/pAJtlaAAyEql/ HK18F0LyHE35A== From: Federico Serafini To: xen-devel@lists.xenproject.org Cc: consulting@bugseng.com, Federico Serafini , "Daniel P. Smith" , =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= , Jan Beulich Subject: [XEN PATCH 10/12] efi: address violation of MISRA C Rule 16.3 Date: Tue, 10 Sep 2024 12:09:02 +0200 Message-Id: <302110f2f41f6b7f74fcb90f8902137b0a619082.1725958417.git.federico.serafini@bugseng.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @bugseng.com) X-ZM-MESSAGEID: 1725962985399116600 Content-Type: text/plain; charset="utf-8" Use agreed syntax for pseudo-keyword fallthrough to meet the requirements to deviate a violation of MISRA C:2012 Rule 16.3: "An unconditional `break' statement shall terminate every switch-clause". No functional change. Signed-off-by: Federico Serafini Acked-by: Marek Marczykowski-G=C3=B3recki --- xen/common/efi/runtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/common/efi/runtime.c b/xen/common/efi/runtime.c index d03e5c90ce..376fcbd8e1 100644 --- a/xen/common/efi/runtime.c +++ b/xen/common/efi/runtime.c @@ -691,7 +691,7 @@ int efi_runtime_call(struct xenpf_efi_runtime_call *op) =20 if ( !efi_enabled(EFI_RS) || (efi_rs->Hdr.Revision >> 16) < 2 ) return -EOPNOTSUPP; - /* XXX fall through for now */ + fallthrough; /* XXX fall through for now */ default: return -ENOSYS; } --=20 2.34.1