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

Re: [XEN PATCH 07/13] x86/asm: address violations of MISRA C:2012 Directive 4.10


  • To: Simone Ballarin <simone.ballarin@xxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 29 Aug 2023 08:44:27 +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=H2ZEcTED2Ldw3ZssioWW5/zSqPkYhoAKgh/r7FVTK0o=; b=brWWLv0IkUbj1gyeskQS8Pr8+Afbvobc4yIrCIcPb+HzfYQjBov5Cq1w4Qqo0E0oAfppkkEViCd009Dy+/OhW2X48VOwaUyMqUGPUwI/2W1ShJfSSw6aACzwa8RBmveRybYJzsXqbpvfXTfaQFy5VYL5KkiT/QqjhByFvNrN3x5IO52AlSuNGjxqKoKbaj2FHa69ilRKpyI5xckMQcv5P0T5przLgs52AFuAr2zyfDIX3j6cp2GLfSDmcapOw8ttn3+aMrBaIHh/sCWc9MG2EPiHZFgOpAPUHscJTO5jPL0VFezCt8rGeqnAuzagUeomG2Ws8kYsmMwGAin3D/DjAw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jFNPNQWgWgC7EAy7Zq+JsymZv0747c/d+dsiRH6fZp4PxNSqTgRQ49EgBBVPsrP1jly1kGWMV8LstVexsERHix9dwBCQj+d3RvgXa/6SnQWwKsFYs97mydmqVXBxnO2oK1uB2wiEFU0VdXpNLHAdpiBuRiEBLY8Y5MdNE9Dvbgc+c3JHOBinCv9YEf98YoMGLc8ti5e1Unz6IHImSTg5oeuzweOc3yKEGCJ2rV2JIo1MveoT/Ru0enLqrHsVpXkOdcTzp392Pdo36EB5M4+Swzq0k0IMkZylRecYjqrqawfJrMz6mirFYQTfPS9AebMhRTVT+uL8hQKkyUiYNUd7TQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: consulting@xxxxxxxxxxx, sstabellini@xxxxxxxxxx, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 29 Aug 2023 06:44:35 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 28.08.2023 15:20, Simone Ballarin wrote:
> --- a/xen/arch/x86/include/asm/hypercall.h
> +++ b/xen/arch/x86/include/asm/hypercall.h
> @@ -2,13 +2,13 @@
>   * asm-x86/hypercall.h
>   */
>  
> +#ifndef __ASM_X86_HYPERCALL_H__
> +#define __ASM_X86_HYPERCALL_H__
> +
>  #ifndef __XEN_HYPERCALL_H__
>  #error "asm/hypercall.h should not be included directly - include 
> xen/hypercall.h instead"
>  #endif
>  
> -#ifndef __ASM_X86_HYPERCALL_H__
> -#define __ASM_X86_HYPERCALL_H__
> -
>  #include <xen/types.h>
>  #include <public/physdev.h>
>  #include <public/event_channel.h>

See Julien's comment on the similar Arm change.

Jan



 


Rackspace

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