From nobody Mon May 13 14:50:54 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; 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=kernel.org ARC-Seal: i=1; a=rsa-sha256; t=1689106949; cv=none; d=zohomail.com; s=zohoarc; b=XGLCyFdPdLu8t0hAjwxvhi8aMS5Q22qSzIxRtz9XQYmFeb/AdkcKUG9Pqcnm21A4WFdVHzWpPEjRJEOx7N0rpwgljl50yDX9Xj0c36yLybmX/5/fW4ajjXw9kXg16Q8IdWtayTZg3QXUOG/H2URo+xwUbp3S0b9jSnomyZmiKjU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1689106949; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=8P7BfPc2oWD6surjigZvp116VC5s/DDvdCUxiK/++xs=; b=cp1OlC/QzUW1lpJm4cZ0diVFh+BOn65MGVbP62mZnD24y8OSmFUQItWIGfAzst1ScRZ/qIhztfQDXeTZ2N2SS6nh31km8OGuAFV/6GYJp+jA5kYQpoeuc4kI5ClIjpSytcl3Gz6p5k75B0tPDDRrRftmo5z3mCPG3dkkSBjJ2aE= 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 1689106949962731.3348505999807; Tue, 11 Jul 2023 13:22:29 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.561893.878463 (Exim 4.92) (envelope-from ) id 1qJJrv-00041M-0U; Tue, 11 Jul 2023 20:21:55 +0000 Received: by outflank-mailman (output) from mailman id 561893.878463; Tue, 11 Jul 2023 20:21:54 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qJJru-00041F-Ss; Tue, 11 Jul 2023 20:21:54 +0000 Received: by outflank-mailman (input) for mailman id 561893; Tue, 11 Jul 2023 20:21:53 +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 1qJJrs-000419-SH for xen-devel@lists.xenproject.org; Tue, 11 Jul 2023 20:21:53 +0000 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 918493c9-2028-11ee-b239-6b7b168915f2; Tue, 11 Jul 2023 22:21:51 +0200 (CEST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4BC54615DD; Tue, 11 Jul 2023 20:21:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B41FC433C8; Tue, 11 Jul 2023 20:21:48 +0000 (UTC) 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: 918493c9-2028-11ee-b239-6b7b168915f2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689106909; bh=s5cOSymdjcLQwXjedQSQ4b1V0Qqbv9IUkI9Uizo+ch8=; h=From:To:Cc:Subject:Date:From; b=nDwxLhL46DE0Ve3L1akBgukj4QROHHZjTLpma/qddHwhqCHxerYWCuFpoSpF2D1+/ maKToYmTehb+RTvOlynBSvJgRnNhJ7LbPMD6usjWLvNqgt8aAixDYE/n8gOJ/bhrmd r71wAdACvizaBFBXSZ3q4cHXOY23tyf2ZuWE9VWNonXjtoKspQ/g4j+TwLWIhmdTz2 FhVY/1uSQWXeqc34qSa6+bJUtxWinSE+W/6SP7TI5KmniT/u8kynghc421NqfVvb9a goOFrCjqExgL0f0kixNAA1iKce2dxF9bJ49WTKbN1iFql8XAMqsyrxlPKmnlQ3uXK/ Nq7h90O9bmAmg== From: Stefano Stabellini To: xen-devel@lists.xenproject.org Cc: jbeulich@suse.com, andrew.cooper3@citrix.com, roger.pau@citrix.com, julien@xen.org, sstabellini@kernel.org, george.dunlap@citrix.com, bertrand.marquis@arm.com, Stefano Stabellini Subject: [PATCH] docs/misra: add Rule 9.3 Date: Tue, 11 Jul 2023 13:21:45 -0700 Message-Id: <20230711202145.2334563-1-sstabellini@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @kernel.org) X-ZM-MESSAGEID: 1689106950788100003 Content-Type: text/plain; charset="utf-8" From: Stefano Stabellini Specify that {} is allowed for zero-initialization. Signed-off-by: Stefano Stabellini Acked-by: Jan Beulich Reviewed-by: Luca Fancellu --- docs/misra/rules.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/misra/rules.rst b/docs/misra/rules.rst index 72aa986bce..29a777938a 100644 --- a/docs/misra/rules.rst +++ b/docs/misra/rules.rst @@ -284,6 +284,11 @@ maintainers if you want to suggest a change. braces - =20 + * - `Rule 9.3 `_ + - Required + - Arrays shall not be partially initialized + - {} is also allowed to specify explicit zero-initialization + * - `Rule 9.4 `_ - Required - An element of an object shall not be initialized more than once --=20 2.25.1