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

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


  • To: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 8 Aug 2023 16:03:50 +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=ZJeY52rlTThTYy2nDcE8cZ/gX+XfB/fqbt0cVJxWawU=; b=RgflQ1Sl0iV08TtgD3Ang5koUM4Ku7knuQfyL1cCzHSa8c+z9PObQDhWf4205pyWifZ5ExLHuAu0OtuG+PXxsv8rRnEdNIq0XE8YocnumWwtrSy6ypuxMucQIGVtDnf4GhCR36zg/iS4SAMv854kSMMgqLYMAWSHNMWBpfgQlhe04QuPouwDz6MVaEm+jTbcxJbzuQb73LaUzuf7ntY8A/CxiFrFPT290Tx2Gc4WMZMeE1BcmYLLkKuMt+P5ToW3jKhhmeefPnMbPkRje5yi5u4LhDTYv6fwHK85VeUm2ct3cPheYTCE3gl5iAt/8+71hoOf7z2RNiYl+vnOs1yx5A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A/MhJs5AV1Phb3NblQxVs8PMDu0IGIf5Hg/Pao7yAEPd7TCV9AQPSE31+Vuegf51HoXoplwcRwm4Y2iwZOQSqtOXNkp3nLochtzDoXcuzkhEg8i9XmTAwgaSqmzBAwhv3pTvi4xg5+ku8SVkQnKJfa3GLHJJRQwc35B9edWvbA/gN1RwOICi+npeIvZv+i7IOFJ22x6hkCgerRL/5wxg9K+ELqF2jNzEqGOtCbnMQK194JH+2rI7PxKrMk8Vu9Gt5fEpryOtIDvEUIoow4pt9zKf2Gau2EJiYPZ2ucUrA2CM0q4HVlPun9HRJ2yau1kIEvr/VhW/yP4qDXQ6iFcziw==
  • 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, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 08 Aug 2023 14:04:13 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 08.08.2023 13:08, Nicola Vetrini wrote:
> Rename the local variables s/xsave/xstate/ to avoid clashing
> with function 'xsave' defined in 'xen/arch/x86/include/asm/xstate.h'.

s/defined/declared/ (in some areas of Misra the distinction looks to
be quite relevant, so being precise everywhere is helpful even if only
to not leave uncertainty)

> No functional changes.
> 
> Signed-off-by: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>

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