From nobody Fri May 10 05:40:27 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=1687310824; cv=none; d=zohomail.com; s=zohoarc; b=TyNiJjbr+9RWD1yZ0csJomVL16C8/uNox3Wxhixx6YlewTyXr56mP9hQr77+jAnD3+YNP7V6s+UqBckqAaMrORWhkWzv4D6ShEEH08DrT5r+W8EOjV7WUVSW8nwK/QgY24Sm9Qlj/1WVGf0e/shL1bjHdeC47cYIs9dErUapONI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1687310824; 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=qRF3zV2q5OkRjlW6AjsXScUTJj4TDHWeLPhemGPb6PQ=; b=lugWPe8NiYpG1AbJLAtd5E21TfC1PFpxZ9IXtGSeGbfiQbj2UB2eA3/BidhdndOQSmsuZlzNL54i0B3cn4fXpliSNiR+txLbPWYh7bINOSCvkN//WqwmHsS7lr4B0xuxf/RpfNRiFJfZ4peFDbBPyQdpg+8zv9eVEHez4fVk1Vs= 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 168731082407139.703167713412654; Tue, 20 Jun 2023 18:27:04 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.552428.862506 (Exim 4.92) (envelope-from ) id 1qBmc9-00009K-Iw; Wed, 21 Jun 2023 01:26:29 +0000 Received: by outflank-mailman (output) from mailman id 552428.862506; Wed, 21 Jun 2023 01:26:29 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qBmc9-00009D-G7; Wed, 21 Jun 2023 01:26:29 +0000 Received: by outflank-mailman (input) for mailman id 552428; Wed, 21 Jun 2023 01:26:27 +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 1qBmc7-000097-Lq for xen-devel@lists.xenproject.org; Wed, 21 Jun 2023 01:26:27 +0000 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id a2244ed6-0fd2-11ee-8611-37d641c3527e; Wed, 21 Jun 2023 03:26:24 +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 C942961236; Wed, 21 Jun 2023 01:26:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02AB1C433C0; Wed, 21 Jun 2023 01:26:20 +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: a2244ed6-0fd2-11ee-8611-37d641c3527e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687310782; bh=8gOIcCikqQLJ+3hXgXoSfZfuzAku+1OSc/K2C4b3ovA=; h=From:To:Cc:Subject:Date:From; b=cfRtoYRUsUWFUhPitkvkP16MCpbkfrH4r7+8DJLuQlqcpYs3y5hwj7wWcGmcstNlE ghN5PA0e0iEFZ3vPZQRX3gUW3h/2wyNTrSd1l6KqCMpJP+pqfXM1gRDmkdhNgYbayl GrLFdRB23cQo/Kan4aj/fzV8pGbWIvsx/mimTWLQNInyA3cZ2118wtFH6uKLs6uQTf CNyiZ6w3R/+kK3gLh1p/pHtGPnYgqXHoRD14X1bUtwMUy6iRp/bm9IADaQGMCaUQYJ meG8xxKJG7Q1H47sWYu4T3uvkVangQAkBuGPj4y3j6ijJo/AypfWDXGSPr2f46Bcz4 QRYSlaoRr1tuw== From: Stefano Stabellini To: xen-devel@lists.xenproject.org Cc: sstabellini@kernel.org, jbeulich@suse.com, julien@xen.org, andrew.cooper3@citrix.com, roger.pau@citrix.com, bertrand.marquis@arm.com, roberto.bagnara@bugseng.com, Stefano Stabellini Subject: [PATCH] docs/misra: add Rules 8.2, 8.3, 8.14 Date: Tue, 20 Jun 2023 18:26:18 -0700 Message-Id: <20230621012618.2661337-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: 1687310824462100001 Content-Type: text/plain; charset="utf-8" From: Stefano Stabellini Signed-off-by: Stefano Stabellini Reviewed-by: Bertrand Marquis --- docs/misra/rules.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/misra/rules.rst b/docs/misra/rules.rst index 11b9c42b70..9caf43968c 100644 --- a/docs/misra/rules.rst +++ b/docs/misra/rules.rst @@ -213,6 +213,17 @@ maintainers if you want to suggest a change. - Types shall be explicitly specified - =20 + * - `Rule 8.2 `_ + - Required + - Function types shall be in prototype form with named parameters + - + + * - `Rule 8.3 `_ + - Required + - All declarations of an object or function shall use the same + names and type qualifiers + - + * - `Rule 8.4 `_ - Required - A compatible declaration shall be visible when an object or @@ -248,6 +259,11 @@ maintainers if you want to suggest a change. enumeration constant shall be unique - =20 + * - `Rule 8.14 `_ + - Required + - The restrict type qualifier shall not be used + - + * - `Rule 9.1 `_ - Mandatory - The value of an object with automatic storage duration shall not --=20 2.25.1