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

Re: [PATCH 2/3] common/kernel: Rename hypfs "params" variable


  • To: Michal Orzel <michal.orzel@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Fri, 5 Dec 2025 12:32:07 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=SMm/uiaRpu+EkVOfalfXdzrQv9AD35uy8OzroZIKQZc=; b=xjYcBLRA8af+6ZYcDXLOnTHj209hheqYGcSxR4GRcxeCrNuUxBwbv8TTDIG9L4rqLrNHXNtGKjnIVS7yzHa4lJ/Ipr0Y+dl3jpFNQ3x0Jl9Fc57wQHtLELPxnNVTxzFd6rTw+7KDFdqzQ6gBbkX341BEa7dRHkyAvVmLUdAl4cspnHxeo4gxC6PPPFa+LHwpnntKvEJ9kGNlZe3a6jxqs/xlFFjRS73k5xpkLzDB6wt/6z09kBi76o7Hc6Rt3xmHfSsJtjMG4Vb0iAvdHvA5moCg00+MzzRhxp9C7Ua8HKI/ymZtTJo+lXP/BWfIhwTm20Mo5h9O6qjmwQCWdCUW8g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=vAALFsQUM/NV4zx/uG7x4316jKjDREdfRwgB29/nQAm0tMSypX8fVROZ/Skhdn/P1FZEYk/AE1mLYDE0DdxCYt0PKtoDH2ELYRJvS+W9WKYpwSpO4TVJ6AoEHs28LYFKtIvxLr8eIIKJ/htKYvYy16DTUhqu5ZUwLsUwENC+etWGGfB39nrsbFLcR+/0tjOzYI1AN9/9LFLYwOypIUwBgeqz/954Lx7POJN/Lfr1nHdzIdl28Xbq03A2YKYwUmbklxKbk9Kgg3r+PtDgr6DmLj8/EbmiSDws6wlkLByFgd0XMduVkCXxy5bxGJhzsFsHz5PhJeXX63WPQ4DibwGKaQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: andrew.cooper3@xxxxxxxxxx, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Fri, 05 Dec 2025 12:32:38 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 05/12/2025 11:49 am, Michal Orzel wrote:
> Inside do_xen_version, there are two other places using local variables
> named "params". Rename hypfs dir "params" to "params_dir". This resolves
> MISRA C R5.3 violation.
>
> Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>

Equally, the two things called params could be shorted to p, but
"params" is a common general name so this approach is probably better.

Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>



 


Rackspace

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