[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] docs/misra: add Rules 8.2, 8.3, 8.14
- To: Stefano Stabellini <sstabellini@xxxxxxxxxx>
- From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
- Date: Thu, 29 Jun 2023 08:21:24 +0000
- Accept-language: en-GB, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=z9wy44JI9gsq8hu9CRU8UTps+OR11TjbePSpCERO+6Q=; b=jihaJLnkvX+iEtxdXSle/pSs1PAdUY1ysDCn6AkLlHR2InQTYUqTrzL+iwvnsMH7G+vFNJ3UEbKNqbQSyTmnh8kG+4VF40gOxpM1Lp12FJMwGF+8go/KVBqyESPu5CiCqqvSIAQOTvfVG7tbIy6AvDaWPLFaRV2nwSh28aFiwMVTOPAnz+4PRlvQgw4Tfti0CBQ3gwYzFUZwPfcSjJGNfxPOan252jfHg+gVvfXAvN29JUDzz260gkPT/Uy/I4GqkKWmTZ2g74xUFUnjmHtUmXFicF2CkevdyorepSvkaW2nfVi/GEDUiGkG9ujRNS7LmV7M3i0wLIcYDbNctXCyXw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dhzcDLRI0BsKx3PmYyi6W+nKbAbu2+AXEM+u2U43oqyJuJ0iw00t9Qk01hXRKXVMf0f3j241ssrgUPcBDR/aq7r6zOfxn01wfVoij+ZRpY9JhcxcuW8d8lQ0VC7NWjS7yVj1LZBpjNpjmKwt8G37+igYTWXZ66GlQW0R7Zs4WKvCVQ1xI/FmU9NY2CD3NU3+qUZ2/ONT0tazgAZnZ7vNyO8MUCmsB+pdwfvmuoJeFSBib1FQZ8MebPhcLVDJmq8x+L5n+RqZ8f400AoNXvzogurZVJLN9Ff5lv6jiUGkTov/1Itzz4FWJChRNpHZW3KWzROjV40LKmFZQyEwWer1oA==
- Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, "andrew.cooper3@xxxxxxxxxx" <andrew.cooper3@xxxxxxxxxx>, "roger.pau@xxxxxxxxxx" <roger.pau@xxxxxxxxxx>, "roberto.bagnara@xxxxxxxxxxx" <roberto.bagnara@xxxxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxx>
- Delivery-date: Thu, 29 Jun 2023 08:21:49 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Nodisclaimer: true
- Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Thread-index: AQHZo99p/T97HMuw0EqXSDkqCUoxs6+hfZcA
- Thread-topic: [PATCH] docs/misra: add Rules 8.2, 8.3, 8.14
Hi Stefano,
> On 21 Jun 2023, at 03:26, Stefano Stabellini <sstabellini@xxxxxxxxxx> wrote:
>
> From: Stefano Stabellini <stefano.stabellini@xxxxxxx>
>
> Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxx>
Reviewed-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>
Cheers
Bertrand
> ---
> 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
> -
>
> + * - `Rule 8.2
> <https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_08_02.c>`_
> + - Required
> + - Function types shall be in prototype form with named parameters
> + -
> +
> + * - `Rule 8.3
> <https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_08_03.c>`_
> + - Required
> + - All declarations of an object or function shall use the same
> + names and type qualifiers
> + -
> +
> * - `Rule 8.4
> <https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_08_04.c>`_
> - 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
> -
>
> + * - `Rule 8.14
> <https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_08_14.c>`_
> + - Required
> + - The restrict type qualifier shall not be used
> + -
> +
> * - `Rule 9.1
> <https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_09_01.c>`_
> - Mandatory
> - The value of an object with automatic storage duration shall not
> --
> 2.25.1
>
|