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

Re: [XEN PATCH v6 6/7] xen/mcheck: address violations of MISRA C:2012 Rule 7.2


  • To: Simone Ballarin <simone.ballarin@xxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 12 Sep 2023 18:06:55 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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=wzsXcFSWEdlXijQubwCYl9U1coWHfULL3RUYSmsvHs0=; b=NUTNsDctPn2nq5PkmM0Wi5GHeXnSrQRYpbQfY2I3R46ABuZHkID5EKWfOQpe60dh2mK6vpP5ZEbxyDQMLAx9yi3HLDxwXKDsksWXpDlpW5XvBfR+soABz8yNopG4TpfLpnoqQTn1AaE+A6MQ4Ubo/QcRn03imgD1dr+tpV/37D7aNYiE4NA6TApsmL1DFL7oYdIFWPzRCHaNraXqH80g8nuv2wkQt8ynVycs2DMxEx7Gq1Wap+kdahhPnHjLn+u287plTC9rgF5M/VmoPm6hoIa2geSx3L/zOy5yeAZOqwk4DbFUCJkDBSHrmHQfIsxQf2SThPGxNJflCyR3YcrdUQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ikW33EovcYN9rniHL1msJUpgdVTbO+eHDoHfytGxoQUcG2D7NELHblDhV9t24ysZCQh+K+halALKuSZOG5TEwjs9iJlO1T9Qn2Gbw/RfjUlW4UUWV4NedsSK8mmNd5pH6lz4YLigTWkT8OyFwXFvpLrbcmjGFASlmwpAQqXCS+VRVqh2QZ7exeZew6UScX82BKc7Q6TTIToRGCWbeHHbwGimz70kx+nu99uTF66rfAih+9KoIGFQme+eveMfst1jKBptoqS9HRbnttyQWY7Tf47Z5XyDkDS9WHzZ713AzJ4tkG2LHTUe729QzgLSt8OCe+hZNZzULFMDhEm4Spxz9w==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: consulting@xxxxxxxxxxx, sstabellini@xxxxxxxxxx, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Gianluca Luparini <gianluca.luparini@xxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 12 Sep 2023 16:07:11 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 12.09.2023 17:39, 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 the 'U' suffix to all first macro's arguments
> 
> Signed-off-by: Simone Ballarin <simone.ballarin@xxxxxxxxxxx>
> Signed-off-by: Gianluca Luparini <gianluca.luparini@xxxxxxxxxxx>

Acked-by: Jan Beulich <jbeulich@xxxxxxxx>





 


Rackspace

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