[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] xen/cppcheck: add parameter to skip given MISRA rules
- To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Luca Fancellu <Luca.Fancellu@xxxxxxx>
- Date: Wed, 18 Jan 2023 08:35:35 +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=tdkX32C572az6v5n2zyIeVkaRxE7Jyba3HiN2ee3VdM=; b=RKcbsr1Yi9pz9o303UnHCNVFeMGarGEzDBNGRoDc2SfHgSTnzyEwKSWCd9oEDclfXEa41plK12FZKP9ansv2lqYeV8KIGpb6OZLkcj7d98KMMMO4jfNfb9ig5y/4gHMeLAHqzHJqSht4zO8Y9R0R+j7NIOV56xPPsr1EF1iN3+lqUrEK1suwDXAVlZvk6tKywurArUGCuNVJdiSxOLQJs+OAnctBGXapbqjyN3ovFz/L9HGSraSBLIIUDki4aSCkZsRqUXRcGpP4aXGCMwL+yxm0NIgfPK/UE59wu7HDbrFpleoQBK9gpNoDSAnmO6SljzcVRBioFl2ejTWzp75DxA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Sx1pVrHGUyGpFmUklgF3rk/+3Qp5ByrDwKHzu2m83btUZdzGRnahhfXWAZ6/RsVRG/CO0rMj9WIvgF/Kv3cuKd9+MQ3WYoz44PtDEVxzht07Bo3IT57XZdknuwI4IgwpH5IZisc0j7/crfTKDJMqzsLIhijwy5PDeKO1UAyUDjqMTHJaSlheQgOa/XVYtRqzquOoDhlysgfDWueM5buqD9khJdcogSapUtt1bTi/syl7DgJl+pt5eCC+t7yW1TXOZbmGWdZYOHf5u8u+cEo6JApoFzRBxR1TFnfMS2HbCvdpuoXavPslwAhHocly6v7pSxfdPCCKdG3SMX15X+4z+Q==
- Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Cc: Wei Chen <Wei.Chen@xxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Michal Orzel <Michal.Orzel@xxxxxxx>, Xenia Ragiadakou <burzalodowa@xxxxxxxxx>
- Delivery-date: Wed, 18 Jan 2023 08:36:30 +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: AQHZIbuCEhHxPW648U6oapqp0s8gTq6j7CYA
- Thread-topic: [PATCH 2/2] xen/cppcheck: add parameter to skip given MISRA rules
> On 6 Jan 2023, at 10:41, Luca Fancellu <Luca.Fancellu@xxxxxxx> wrote:
>
> Add parameter to skip the passed MISRA rules during the cppcheck
> analysis, the rules are specified as a list of comma separated
> rules with the MISRA number notation (e.g. 1.1,1.3,...).
>
> Modify convert_misra_doc.py script to take an extra parameter
> giving a list of MISRA rule to be skipped, comma separated.
> While there, fix some typos in the help and print functions.
>
> Modify settings.py and cppcheck_analysis.py to have a new
> parameter (--cppcheck-skip-rules) used to specify a list of
> MISRA rule to be skipped during the cppcheck analysis.
>
> Signed-off-by: Luca Fancellu <luca.fancellu@xxxxxxx>
> ---
Gentle ping on this one, I’ve done the modifications for the suggestions
received on the first patch,
I’m going to respin the serie so I would like to see if I need to change
something also on this one.
|