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

Re: [XEN PATCH v2] efi: mechanical renaming to address MISRA C:2012 Rule 5.3


  • To: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 24 Jul 2023 16:44:57 +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=niFdESdRLTWSWCxrIcGQL93tVo8iJqV0Ckd/Cd3J4ic=; b=ZqtaufUHa8MpPdr6eYgW5YRaljZ/zu4tNqNVkuimhK8Eh2zVgtRMQh404YuwNkGTJtlNBB/us35BhxV2QiY1W4VuS39L2ifnqn9O5fO+XB0A5HJZI1112xdPkbukfCynSjG1DoYfGNQoERqqCh2HtnIAj6qK/7VlM3zN8cFQZl73RthW15mlyC2EVmGMA+BaB2AWEu45vHQDuw2BqswO/CyhanucCp7IT8idSUXkcejUXM5wxCieHbiiu0dZFy8RWRLKh5OkShjDDN3vXksolFbbWW7WdLBOpOry3q1Jh7mtG+xoe/VRQFWPucd6vd1GVXCFRL+Fdogv3yrBA8KnUQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jBNGXdQbQOMOtt5J37p4p51Rur3vX5Qo2LZQPUPgLqSk+o4PnYFU+S2nw1huBCWXmCdvjVQUhDIhVwq8HCbMqahhL8OUQB+8J7vlO3Mv0Zf9gM6WL1a9e5ryaHAYJGzEKDVwTsrLfQ6e3/4v4j5znhXagHopK961MfXrlKPT8bHM9Y4SQcZzASPKMFZZajo/yCjTS930wSlBgQnuJonUYyyGZJDYhyCGm/X8vPtBcgPdF8qg0YMxm9fC9sksL0pifziS+8PrdUWpwcJFjXBHgFilbvscXjJBFcOhcZkRsUV4Yeyq9R6VoSRtqowJjNi41R8oCWs25OQSyedPMX0Edg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: sstabellini@xxxxxxxxxx, michal.orzel@xxxxxxx, xenia.ragiadakou@xxxxxxx, ayan.kumar.halder@xxxxxxx, consulting@xxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 24 Jul 2023 14:45:05 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 24.07.2023 16:26, Nicola Vetrini wrote:
> Rule 5.3 has the following headline:
> "An identifier declared in an inner scope shall not hide an
> identifier declared in an outer scope"
> 
> The function parameters renamed in this patch are hiding a variable defined
> in an enclosing scope.
> 
> The following rename is made:
> - s/cfg/file/
> to distinguish from the variable 'cfg', which is hidden by the parameter 
> inside
> the modified functions.
> 
> Signed-off-by: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>

Somewhat hesitantly
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>

Jan



 


Rackspace

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