[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XEN PATCH] x86/cpu: Address a violation of MISRA C:2012 Rule 8.3
- To: Federico Serafini <federico.serafini@xxxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Tue, 8 Aug 2023 09:22:54 +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=IsrWtmWG7rBGWqtN6Nbj9lITQcyNwJ9A8pnEseQgdPs=; b=Nj3N3aDcYnIligpdBgMFIh1wrwRjfDOa331egtUNd7r44OYCnJNmz5oMZiBSXmNpg0QJ8i0vUMsBqtZPbuF7iIDbyEa28qZ8SzwsvtMhzTwO8Z4c085qrx5m2w7BA2IBRxnGwnGSmmKgmAXVYIrLbGfOjyLsPzSLHS4HMNW8zLONW9lxkriZXcHlUz5+Cl0rwzZ/xJUqZHUdd/Pi3HLH7wUbQET/ndJk98/Nmz++Pp8Kg/QLQ8AE9UkXVIEiuiVHZ6dzjKIdUUSzaoI/F1JpLwkHk5lizgkjY5r2DGOvedu55Yr02Pns1E5erxZBWQlACrbkHQLtssO2Wvju05lqUg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oEl6I3Slo2ryws2bd0Uq31f3rK+9XVcz7jlrwSlsUgCO2VscmJ5/5ZfogFNbzUZl42DxXskh3JHiz2pmfq5GRXAMBtlEfRbhZh5UIgeRvr5EnrzYF065qYloDCS1iCKUbX/VCuuwzxQwfLr9PEToWaolgXqgaVUqsU20wnrmLsDUOEfCQAnnRmKSHlXNQ15PA7DHJfmxJ/0dpzovAOE2XgNZnY19vg0ilrqO+qyrLEjapgMGhXwuhZXr7LgsXb/Qkk9SYhOYEvn7dkzXaNdPJ+DfFqW+Lz8WVi0UmdFMixgaHCeZ1xi9C95IuzQ7SEJiKZBrAFvyZdlVVcejVtcLJw==
- 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>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Tue, 08 Aug 2023 07:23:13 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 07.08.2023 19:02, Federico Serafini wrote:
> A missing change to the type in 'opt_arat' declaration introduced a new
> violation of MISRA C:2012 Rule 8.3 ("All declarations of an object or
> function shall use the same names and type qualifiers").
> Change the type to restore the consistency between all declarations of
> the object and drop a further usage of 'bool_t'.
>
> Fixes: 202a341f ("x86: Address violations of MISRA C:2012 by replacing bool_t
> uses")
> Reported-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
> Signed-off-by: Federico Serafini <federico.serafini@xxxxxxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
|