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

Re: [PATCH] arm/tee: rename variable to address MISRA C Rule 5.3


  • To: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • From: Dmytro Prokopchuk1 <dmytro_prokopchuk1@xxxxxxxx>
  • Date: Fri, 20 Mar 2026 08:54:17 +0000
  • Accept-language: en-US, uk-UA, ru-RU
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.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=O/bU8wI65kc+5Xbu7+4cTwVoNX7u03CmcuXMU1FqfgE=; b=kX2JvfSAbER6Ppu3l54k7c+iejrNwwTfttjI/B9ckP/ZCGZyAykZCmbhZtwHMTlfeMEEX3yzw2UmWbex8IgSHxGB1Xz/adGF7DEmgpqMRFjqsem1AkxoR3u5w6Nq+awb06omTDNsvlV3YSdGeJWo1xowC8YrH014o78IyII0U7OnDwj7BoIpdwha/Z/lQ+6R6vX1L58VzJQkBYTv7IKyVboDYso+sl8XX9rUitvefVW7gkkVr2DD5EGEP5fnJTuQX784DDGfM91fZmXyV6kKeXEwHbewEfo/DJWTEQgMSFQjSP4x3QxWYbQGB/ntEU8np494G2dlvH/EJr4Hpqhhsg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=B3ByAROf6KJvB0cb2/j/3gRG6IGlhuWFtwtpcazrCP1tBIWni5bCXrHRx3+5jtDf0xCtDARq/McPUozUO7zZk3+fOyLwU1N3PCTd0OkkcQrgGuSMRtbb6Q0gjyYLO1817dQEHv4Csrcx+bJNWPh8xSPHqCw/hR9TZm2zY4YE5cgWsH3YBR/Cknd6FxrXqaKMCuYjN8dPwse27SgHS2pRSmXIFy6AzCF+JxEqZTSJsAkXpsgqidTojlQDAB0++IflP6AzG/QB7WbqUPi6gec+TKv5SDm7tV6eIbcmBbloC4MbgTWTPEbFHv4raZAljPr2c+JZelG7czaU0uS+8p/lCA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Jens Wiklander <jens.wiklander@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>
  • Delivery-date: Fri, 20 Mar 2026 08:55:18 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHct91SP+heAl5ESUaIOkxQ7VfzerW3Cw6AgAATegA=
  • Thread-topic: [PATCH] arm/tee: rename variable to address MISRA C Rule 5.3


On 3/20/26 09:44, Bertrand Marquis wrote:
> Hi Dmytro,
> 
> 
>> On 19 Mar 2026, at 21:16, Dmytro Prokopchuk1 <dmytro_prokopchuk1@xxxxxxxx> 
>> wrote:
>>
>> The local variable 'ffa_vm_count' shadows the global variable, declared
>> in 'xen/arch/arm/tee/ffa_private.h', therefore it is renamed
>> 'ffa_vm2vm_count'.
> 
> I have a patch in my queue to solve this (I am just removing the ffa_ prefix 
> from the local
> variables but does the same as yours) and a patch to solve the other misra 
> issue in optee
> but happy to to use yours if you want instead.
> 
> I was waiting for the pending ffa serie to push them (should be merge soon)
> 
> This patch will not rebase cleanly on top of that serie which is changing 
> ffa_partinfo code.
> 
> Do you want to wait and rebase or abandon and use the one in my serie instead 
> ?
> 
> I am ok with either solution :-)
> 
> Cheers
> Bertrand

Hi Bertrand,

lets use your patch series.

BR, Dmytro.

 


Rackspace

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