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

Re: [PATCH 4/5] xen/sched: credit: Fix MISRA C 2012 Rule 8.7 violation


  • To: Xenia Ragiadakou <burzalodowa@xxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 27 Jun 2022 09:13:48 +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=3BhsXnHvkKjEXDwDNzitNlTtgOH9H5PPi2BSZcYUiQY=; b=EG98RZXkYKE83+s058t3I3KV20U0RgG9IPDm9WHYO3Bd61CDRI1qsuvdJdCAbVMAOOjPJKtqejlhr60ZzFWXjCFi03Wz7WwiKC70Oj4kpmZMxF3M5PLims/f78Z41c9uHj4/6eqFfmYXfQ8b9HHPtS/12hjFloLWzKmvdmm2jt8p1PiqC7TwbvFSHGryPW5VMFMVKEVMn96B9OvecpAxBwKgjcFwP4kx6GHPj3CaiVCQGBmDAUHf/xHPrjSvqAHWT66xvxEJdLqr3bSNEFAXSEwRq4MPqSTGXu2vY8ta1GNDtUuZMNWvGyPy3uuXqMhtFI2bW/ftMWZuZXXt74JRyw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HYGSJIAXcSaAlI9KoMsMOep03QEz14s8kGnHvBeDIwykhpaw7WlLpO4sa6hPTwGRbeaDHTXHUpDj6rQi49Eof91r46cdIFv58ixE1PAxXmmJwtC2SrP334d1pTck9jL9jjj5bxCLPY6jV9x8Fu2DK144gfXHmVZVzB9S6C8iZ64R/7RwX2NP9IzySjTHtkKof7E7kQD+UwqPX09ddlOF5K6hJ/TOD2n/UCuc75LaLcyaElJhlOs5K+k0j+ciqbdUmQsGm0N+6xIWAcdX0DZQyuV8a3bZGlPILXLOsjQNzkCW29+2J5ZR/Lp4+/8mpcP3sm/VbcwoVRzacNFVCYf3CQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: George Dunlap <george.dunlap@xxxxxxxxxx>, Dario Faggioli <dfaggioli@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 27 Jun 2022 07:13:52 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 26.06.2022 23:11, Xenia Ragiadakou wrote:
> The per-cpu variable last_tickle_cpu is referenced only in credit.c.
> Change its linkage from external to internal by adding the storage-class
> specifier static to its definitions.
> 
> This patch aims to resolve indirectly a MISRA C 2012 Rule 8.4 violation 
> warning.
> 
> Signed-off-by: Xenia Ragiadakou <burzalodowa@xxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
(again with the same remark as on patch 2)




 


Rackspace

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