Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E1ED9C4167B for ; Thu, 7 Dec 2023 11:48:56 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.649804.1014735 (Exim 4.92) (envelope-from ) id 1rBCrq-0002G5-5C; Thu, 07 Dec 2023 11:48:34 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 649804.1014735; Thu, 07 Dec 2023 11:48:34 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rBCrq-0002Fy-28; Thu, 07 Dec 2023 11:48:34 +0000 Received: by outflank-mailman (input) for mailman id 649804; Thu, 07 Dec 2023 11:48:32 +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 1rBCro-0002Fp-Px for xen-devel@lists.xenproject.org; Thu, 07 Dec 2023 11:48:32 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 8b292258-94f6-11ee-98e7-6d05b1d4d9a1; Thu, 07 Dec 2023 12:48:31 +0100 (CET) Received: from [192.168.1.229] (93-36-216-194.ip62.fastwebnet.it [93.36.216.194]) by support.bugseng.com (Postfix) with ESMTPSA id E70FF4EE073A; Thu, 7 Dec 2023 12:48:30 +0100 (CET) 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: 8b292258-94f6-11ee-98e7-6d05b1d4d9a1 Message-ID: <924a50ac-7200-45c7-b486-763b01b44a57@bugseng.com> Date: Thu, 7 Dec 2023 12:48:30 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: ARM: MISRA C:2012 Rule 5.6 Content-Language: en-US, it From: Federico Serafini To: Stefano Stabellini , Julien Grall , Bertrand Marquis , Michal Orzel , Volodymyr Babchuk , Xen-devel References: <5a732dc4-70c7-4c03-b6fa-02d5074441bc@bugseng.com> Organization: BUGSENG srl In-Reply-To: <5a732dc4-70c7-4c03-b6fa-02d5074441bc@bugseng.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 07/12/23 12:43, Federico Serafini wrote: > Hello everyone, > > Rule 5.6 states that a typedef name shall be a unique identifier. > This is to avoid developer confusion. > > For ARM, the violations left [1] are generated by two definitions > of the type phys_addr_t within two different files. > I would like to ask if this is intentional or not: > if it is intentional and it is not causing any confusion between XEN > developers, then I think violations involving phys_addr_t can be > deviated. > > [1] > https://saas.eclairit.com:3787/fs/var/local/eclair/XEN.ecdf/ECLAIR_normal/staging/ARM64-2023/429/PROJECT.ecd;/by_service/MC3R1.R5.6.html Adding XEN mailing list in CC. -- Federico Serafini, M.Sc. Software Engineer, BUGSENG (http://bugseng.com)