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 8BF39E732C1 for ; Thu, 28 Sep 2023 11:11:14 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.609508.948620 (Exim 4.92) (envelope-from ) id 1qlovB-0000lB-CH; Thu, 28 Sep 2023 11:11:05 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 609508.948620; Thu, 28 Sep 2023 11:11:05 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qlovB-0000l4-8w; Thu, 28 Sep 2023 11:11:05 +0000 Received: by outflank-mailman (input) for mailman id 609508; Thu, 28 Sep 2023 11:11:04 +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 1qlovA-0000R0-O2 for xen-devel@lists.xenproject.org; Thu, 28 Sep 2023 11:11:04 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id b6333c2e-5def-11ee-9b0d-b553b5be7939; Thu, 28 Sep 2023 13:11:03 +0200 (CEST) Received: from [192.168.1.9] (net-188-218-250-245.cust.vodafonedsl.it [188.218.250.245]) by support.bugseng.com (Postfix) with ESMTPSA id 645694EE0739; Thu, 28 Sep 2023 13:11:02 +0200 (CEST) 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: b6333c2e-5def-11ee-9b0d-b553b5be7939 Message-ID: <0d75770b-cb95-434b-b3fe-32431c2e1b15@bugseng.com> Date: Thu, 28 Sep 2023 13:11:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [XEN PATCH v6 2/7] x86/hvm: address violations of MISRA C:2012 Rule 7.2 To: Jan Beulich Cc: consulting@bugseng.com, sstabellini@kernel.org, Andrew Cooper , =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= , Wei Liu , Gianluca Luparini , xen-devel@lists.xenproject.org References: <1231f5eeebf6f2e30b91780e92dc4d6015cefdb7.1694532795.git.simone.ballarin@bugseng.com> <40606e79-65b4-f344-1d4f-19c8946a67e2@suse.com> Content-Language: en-US From: Simone Ballarin Organization: BUGSENG In-Reply-To: <40606e79-65b4-f344-1d4f-19c8946a67e2@suse.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 13/09/23 11:44, Jan Beulich wrote: > On 12.09.2023 17:38, Simone Ballarin wrote: >> The xen sources contains violations of MISRA C:2012 Rule 7.2 whose >> headline states: >> "A 'u' or 'U' suffix shall be applied to all integer constants >> that are represented in an unsigned type". >> >> Add the 'U' suffix to integers literals with unsigned type. >> >> For the sake of uniformity, the following change is made: >> - add 'U' suffixes to 'mask16' in 'stdvga.c' >> >> Signed-off-by: Simone Ballarin >> Signed-off-by: Gianluca Luparini > > Comparing with v5 - are the two tags in the correct order? And is there > a From: Gianluca missing now? Apart from that I'm now okay with the > changes presented here. > > Jan > The commit is new and it has been obtained splitting a previous commit made by Luparini. Currently Luparini is not working on that, for this reason I'm the author of the new commit. I thought that the first signed-off tag should be the commit author, this is the reason why I've changed the order. -- Simone Ballarin, M.Sc. Field Application Engineer, BUGSENG (https://bugseng.com)