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 5403DE732C7 for ; Thu, 28 Sep 2023 12:02:12 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.609553.948674 (Exim 4.92) (envelope-from ) id 1qlpiV-0004jM-Gr; Thu, 28 Sep 2023 12:02:03 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 609553.948674; Thu, 28 Sep 2023 12:02:03 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qlpiV-0004jD-Db; Thu, 28 Sep 2023 12:02:03 +0000 Received: by outflank-mailman (input) for mailman id 609553; Thu, 28 Sep 2023 12:02:01 +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 1qlpiT-0004is-Ub for xen-devel@lists.xenproject.org; Thu, 28 Sep 2023 12:02:01 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id d415c4b9-5df6-11ee-9b0d-b553b5be7939; Thu, 28 Sep 2023 14:01:59 +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 E74664EE0739; Thu, 28 Sep 2023 14:01:58 +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: d415c4b9-5df6-11ee-9b0d-b553b5be7939 Message-ID: <26488bd1-551e-40f2-a9ac-577df69d5325@bugseng.com> Date: Thu, 28 Sep 2023 14:01:58 +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 Content-Language: en-US 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> <0d75770b-cb95-434b-b3fe-32431c2e1b15@bugseng.com> <50bfcf5e-d232-08e7-ec8b-38682359035d@suse.com> From: Simone Ballarin Organization: BUGSENG In-Reply-To: <50bfcf5e-d232-08e7-ec8b-38682359035d@suse.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 28/09/23 14:01, Jan Beulich wrote: > On 28.09.2023 13:11, Simone Ballarin wrote: >> 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. >> >> 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. > > If this patch is a the result of splitting an earlier larger one, then > the question still is who made the (initial part of the) changes that > are now in here. If it was all you, then I don't see why there's a 2nd > SoB. If part came from Gianluca's earlier work, then imo the first SoB > still ought to be his. > > Jan > Ok. -- Simone Ballarin, M.Sc. Field Application Engineer, BUGSENG (https://bugseng.com)