From patchwork Mon Jul 24 16:19:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicola Vetrini X-Patchwork-Id: 13324958 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 833BFC001B0 for ; Mon, 24 Jul 2023 16:21:40 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.569141.889417 (Exim 4.92) (envelope-from ) id 1qNyJL-0004sK-Kd; Mon, 24 Jul 2023 16:21:27 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 569141.889417; Mon, 24 Jul 2023 16:21:27 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qNyJL-0004sD-GN; Mon, 24 Jul 2023 16:21:27 +0000 Received: by outflank-mailman (input) for mailman id 569141; Mon, 24 Jul 2023 16:21:26 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qNyJK-0004s7-55 for xen-devel@lists.xenproject.org; Mon, 24 Jul 2023 16:21:26 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 22174553-2a3e-11ee-b23b-6b7b168915f2; Mon, 24 Jul 2023 18:21:24 +0200 (CEST) Received: from nico.bugseng.com (unknown [37.162.132.135]) by support.bugseng.com (Postfix) with ESMTPSA id 669AB4EE073E; Mon, 24 Jul 2023 18:21:22 +0200 (CEST) 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: 22174553-2a3e-11ee-b23b-6b7b168915f2 From: Nicola Vetrini To: xen-devel@lists.xenproject.org Cc: sstabellini@kernel.org, michal.orzel@amd.com, xenia.ragiadakou@amd.com, ayan.kumar.halder@amd.com, consulting@bugseng.com, Nicola Vetrini , Andrew Cooper , George Dunlap , Jan Beulich , Julien Grall , Wei Liu Subject: [XEN PATCH] docs/misra: document the usage of array range initializers Date: Mon, 24 Jul 2023 18:19:19 +0200 Message-Id: <5dc1aa0a5cd2ee3410047956f8e69c32c4b227ca.1690215341.git.nicola.vetrini@bugseng.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 The usage of a documented GNU extension that allows a range of elements in an array to be initalized to the same value using a designated initalizer is added to this document, to fully comply with MISRA C:2012 Rule 1.1. Signed-off-by: Nicola Vetrini Reviewed-by: Stefano Stabellini --- docs/misra/C-language-toolchain.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/misra/C-language-toolchain.rst b/docs/misra/C-language-toolchain.rst index 8651f59118..785aed1eaf 100644 --- a/docs/misra/C-language-toolchain.rst +++ b/docs/misra/C-language-toolchain.rst @@ -196,6 +196,10 @@ The table columns are as follows: - X86_64 - See Section "6.9 128-bit Integers" of GCC_MANUAL. + * - Designated initializer for a range of elements + - ARM64, X86_64 + - See Section "6.29 Designated Initializers" of GCC_MANUAL + Translation Limits __________________