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

Re: [XEN PATCH] xen/hypercalls: address violations of MISRA C:2012 Rule 8.3


  • To: Federico Serafini <federico.serafini@xxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 14 Aug 2023 09:31:10 +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=ctGjyzypQwlG7z4iGwD5ysbIzEATCF1OUOhumqn+pDM=; b=GCCvYdzpiyJVCu/5DrV62Qw8aUIbGxHtN7yHVzRyYnlhZKZwE5F8ewwEzoG637QVi6DeX8gEipIHt0aT0/TAUQq3XGpcvg25Uye6d/lWOoI9uv44Tye1UO9ZMxL+ttZj0gyEtQrJt9ItT1u5KOqMqf/HS0o6Pyq9k/hSblNTEQC3JQFKKfvH6cvDLY+798+OtEdli1HVofGC9rkAsWsLiMHVowBbSqareGDGgVOq7bwittlWWuhdehBWTy5zdHuAax9QWgRT+Lu7vHGzp7q+Km/P8q3xfOHvE3KopP94ltD2nsLb4OfGUq78pmWyP6al8vYaKnrtOxdEKWk5QodpFw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S6qujWPfP5rt5rkNKsTyoP088zQgvszSimeA2FbFkhNE33wmzk7ov8/SID1z7ThyNotgfwx+PgHWyeaNRd9ax2RLN3OO523wQdmn2xL+cm91bBImPwLX4LXyBkg78DmZ9Lb3N9MpvhinTrVHIqUYh2ykJUYFuuPSsG8Z4Q9xU7+1GgOJkBrlaH+k6ESwoc8/VFRxUgddtle1n3I1DX/znSo2CpBomMLNcB9Q6TEVn48GlNjubnz2ify/JIJVhdgX8CJPabh7kff8li7O4Uko36mVa2TenmCl3gVzvAtwWmNoloapnLjlpxoiJaKq8o/92zRojhHfUC3J4Ii50m6o+Q==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: consulting@xxxxxxxxxxx, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 14 Aug 2023 07:31:23 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 11.08.2023 09:06, Federico Serafini wrote:
> @@ -172,7 +177,7 @@ console_io(unsigned int cmd, unsigned int count, char 
> *buffer)
>  vm_assist(unsigned int cmd, unsigned int type)
>  event_channel_op(int cmd, void *arg)
>  mmuext_op(mmuext_op_t *uops, unsigned int count, unsigned int *pdone, 
> unsigned int foreigndom)
> -multicall(multicall_entry_t *call_list, unsigned int nr_calls)
> +multicall(multicall_entry_t *call_list, uint32_t nr_calls)

To be honest I'd say the change wants doing in the definition, to respect
what ./CODING_STYLE has to say in this regard.

Jan



 


Rackspace

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