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

Re: [XEN PATCH v2 1/4] x86/mce: address MISRA C:2012 Rule 5.3


  • To: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 7 Aug 2023 14:44:31 +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=3kMC6kOdnqVsG/Dilzf0A/0ussROHfjFtc2W89H0nh4=; b=c72LsioPg+QxTGBkqh6F8rxy+d2ahTAx5JCkkV+haTir6rhgrKFLNIYi6GVs8meqMJo72mxP6y5+dDTe0oIbVbt+uL+3TS8QwKYrKjXzn2xjLnI0rzMtdqqF/NmBYQa0OWewR6t0/j1lGQjKlTYE17O5GeBPvngPbvNrIg4YQNr8W76yRwmQE1ouYqFeZK0VLs3MlGo8JBCscKo3Bz3yY7YySfn891DovS1waZG1VgIX97O3+qAqzaDG4BVxPf34mp0GFwC9OxY7gJ1l6TvAhKnZ0poVzjmCbohJbc8+HFVxrc3GAQEyqL8QMuIMWg3dPpKocUcLGUzYPQtlUbgwtw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aNJnj7wyJtGM2Osd7XA4FzhNENXaOhbZeD7OPMgC5aHcy6ryHqgv5ONFKtHiBGSL6tUH2awXKP1XlunkHiqrHUfGLnf60Fc1lxTSx99TlFJKezPp6h1AjH7pYdZTalwDMLydq7ilSTQb7O29Z2LglP3cVwqizh5lubQKWwXIjFX2oD8p50SA7/A59jQDN5a0sB4CRRaKWzBfz5xjK/7OgpWxk+Q4sFlN7mFQtO8gGL2y2zkDVXwVIVfVwFBoEVZUms71K7mmfXCHwnJZiNjnpgBBNKRprRYDxHmUaOCIYmvoQIe3OxPFCR4OKJhrdn9lVVlDFUJBCccdv2THTGjUhQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, michal.orzel@xxxxxxx, xenia.ragiadakou@xxxxxxx, ayan.kumar.halder@xxxxxxx, consulting@xxxxxxxxxxx, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Mon, 07 Aug 2023 12:44:38 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 04.08.2023 22:43, Stefano Stabellini wrote:
> On Fri, 4 Aug 2023, Nicola Vetrini wrote:
>> Suitable mechanical renames are made to avoid shadowing
>> the function identifier 'wait' declared in 'xen/include/xen/wait.h',
>> thus addressing violations of MISRA C:2012 Rule 5.3:
>> "An identifier declared in an inner scope shall not hide an
>> identifier declared in an outer scope"
>>
>> The parameter name 'bar' is added as well to comply with MISRA C:2012
>> Rules 8.2 and 8.3.
>>
>> Signed-off-by: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
> 
> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>

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®.