[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/3] CHANGELOG.md: Mention the MISRA-C improvement in 4.18 dev cycle


  • To: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
  • From: Henry Wang <Henry.Wang@xxxxxxx>
  • Date: Fri, 20 Oct 2023 06:31:10 +0000
  • Accept-language: zh-CN, 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=m5YkSlNS4BRoK2MoVktqNF9yXh+lq3mAp/fl6So8/gU=; b=EzKkY2EPeqsbprP5ZAasXhtWYAJ0ttDCwil5fdk5O1iyK3Z4n+YnkPFwvBKmXS6HP5VfbTu5rJBBTFi/8CcWhHb7Z186rbR9Mmsphl1p0BxinFEnZJ9LHVT3zItYXKiqg4t19tFkxvwf8buSaITDqxjHmv9eUDayyP0bZeNFVeh5jxmD/aAK0HCUKABgxC4mEDxEp9Cus4ElUNZaZRQ0+qnLZQKuNgFni5Gbztz2DYr4OvAQkkgVry2hJdVxRBlx4Ru1NV18C+s0EgsQOQ3Te9237KqbYLoVhHt40Lt01xDiwTrJm/6Un5UpoFn361RixP3DHF/4TdFAYyc/a68nNw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aS2ZcnxRNvDyvfS/9SslW7bpRUQQg2bO4DMpO0NFmJvcvx5VObtDIbVj93Y7swEPXFPEPY3LKmvMnT8eiTA/vbW0gKtvCB1QP8tvRJZ3eADKnYlvrBMspUO7S/WevZFc1RV/ROiwXv95HEmBBrmxirnMrZ4+W4yDwJm+odA4vNXICdPOesNmQBduVqZM2hnLugJAkH9YDlbVrrQNVTLa9Eiclo2duB2AEK1Hk8mOOOH4/pI1aekdwfi1JBJiPhwSn14mh45kiBcwy4B6K9mairPgErRy0+Tt8xxQBuzxdrsCMcHvBQwp+uqEeNRjZ+P42RA4awD0+eAfdi/r2+vyuA==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Community Manager <community.manager@xxxxxxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Chen <Wei.Chen@xxxxxxx>
  • Delivery-date: Fri, 20 Oct 2023 06:31:33 +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: AQHaAkwZpuNxj+yPc0utTQUv+u0QObBRScQAgACb2ICAAFMagIAAAKgA
  • Thread-topic: [PATCH 1/3] CHANGELOG.md: Mention the MISRA-C improvement in 4.18 dev cycle

Hi Nicola,

> On Oct 20, 2023, at 14:28, Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx> wrote:
> 
> On 20/10/2023 03:31, Henry Wang wrote:
>> Hi Stefano,
>>> On Oct 20, 2023, at 00:13, Stefano Stabellini <sstabellini@xxxxxxxxxx> 
>>> wrote:
>>> On Thu, 19 Oct 2023, Henry Wang wrote:
>>>> Signed-off-by: Henry Wang <Henry.Wang@xxxxxxx>
>>>> ---
>>>> CHANGELOG.md | 1 +
>>>> 1 file changed, 1 insertion(+)
>>>> diff --git a/CHANGELOG.md b/CHANGELOG.md
>>>> index 165c5caf9b..47e98f036f 100644
>>>> --- a/CHANGELOG.md
>>>> +++ b/CHANGELOG.md
>>>> @@ -33,6 +33,7 @@ The format is based on [Keep a 
>>>> Changelog](https://keepachangelog.com/en/1.0.0/)
>>>>   nodes using a device tree overlay binary (.dtbo).
>>>> - Introduce two new hypercalls to map the vCPU runstate and time areas by
>>>>   physical rather than linear/virtual addresses.
>>>> + - The project has now officially adopted 72 rules of MISRA-C.
>>> I counted them again, they are 71 today. We have accepted 3 more
>>> recently but for the CHANGELOG.md I would stick with what is on
>>> docs/misra/rules.rst
>> Thanks for the pointer of the doc, I checked the doc and noticed that
>> we actually support 65 rules and 6 directives (65+6=71 so you are correct),
>> but to avoid the confusion, would you mind me writing in this way:
>> "The project has officially adopted 6 directives and 65 rules of MISRA-C”?
>> Kind regards,
>> Henry
> 
> Just dropping this small suggestion: the general term used by MISRA to 
> indicate either
> a Rule or a Directive is Guideline, so it's also correct to say that 71 
> Guidelines have been
> adopted.

Correct, I wrote separately just to simply keep some consistency between the 
wording that
we already did for 4.17, see [1].

[1] 
https://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=CHANGELOG.md;h=165c5caf9beaff72da4ea07d326743500f470466;hb=HEAD#l55

Kind regards,
Henry

> 
> -- 
> Nicola Vetrini, BSc
> Software Engineer, BUGSENG srl (https://bugseng.com)


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.