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

Re: [PATCH 1/5] xen/common: page_alloc: Fix MISRA C 2012 Rule 8.7 violation


  • To: Xenia Ragiadakou <burzalodowa@xxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 27 Jun 2022 09:07:24 +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=XyNRVA2XbKy4GSZCIKS9HX6j/fWhaaFlcY0oqCINqjQ=; b=Rr66vi3YoTa+EpUySQR5CqLaxyU/6zhRI2J0SNEm9sTYJHTu0RkWBTFNuqzUjzfJOduH1CTsHmsrwWNuiC04oMVmeCLu+4SqGZEw89FLdJ2TfBLSaspoHuqIVuXtl4RXrRpPPAag100roQ2NehtnxE+hwGJ2mvIDM4rdbOeK3DCGX12oSjS+L51Rbeou1PyQj9I5SJp2fxmsV1z3yEo38vV42gd66Dl7m4UcobNhY8QIj2PtZStYGPbwDZADqVQcjemxF4fTtlY1r604X1m6FKS736a4tuq0YT0+MM6UPbWE3xB+ESikJaxjBGioBfLdTNRppTkCEE4LLYPMgPLyEA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nnixr6Pjz/gDyHB2xp2BZSx44E2hdKKUYEjSmMlQlzZ2pTNy+muKMCy4FPMo0vC3aZepABIz9zo5OPaCNwnHXn9R/pE5s25A2JUgVQwQ7xJNT3poR0KTTzpOVpqgXSA0hz9XzrwLGGlIoERVD6IeaLXtbwOYb4I/7bvghh6xAuzUbIcAEbliSTxx/d575ImXfESduxKBRuZm3BYAh8TsCrWG+fOh/KIb65T0dzOkgg5LtAgfgN7usAuO/GRJlyPuFXjXeMHuRq0sF66bp29YBziCOFHqJrY1eENTRU5FwVXcE40GPwjzJsCZv0B4jCQTj97Frk20xHwnmHkF49JLZg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 27 Jun 2022 07:07:33 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 26.06.2022 23:11, Xenia Ragiadakou wrote:
> The variables page_offlined_list and page_broken_list are referenced only
> in page_alloc.c.
> Change their linkage from external to internal by adding the storage-class
> specifier static to their 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>




 


Rackspace

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