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

Re: [PATCH v2] xen/efi: efibind: fix MISRA C 2012 Directive 4.10 violation


  • To: Xenia Ragiadakou <burzalodowa@xxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 1 Aug 2022 14:45:43 +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=siy08G96/hQVj4Pmc8qKYMEEvMKp8fY8QPK976KrWco=; b=Q9Cmk2RBUeMKBgsQsEqD2zaF+JM+kNROtf/tOwVMGTnSnQKF2o6lemdDXjqlvO/lWPMlw2vFSQf0ICMQtsYPLzgkoPXH9x27nkmkkC7DeSJh5cXFX0C27Wto2W4PWZ/r/KVtLCEYjFwPjYjXk1kccVfB/VJ0tLdbhrwFJrPfvQrchnDiKB+xot0i4+1vGD64eUx6BWL5plgBawwHA3t6u5hfX//fZ3jy8Lmr9J+SaFmX+OnGh4949nNSq8i1i+xBtE64A1mpR4osghR/uWmDVyA8g1Mp9iVBO4YTn/H9tV1o5AW9WCV1EbD1K05n3O+j4MR/loWQk3t+zKS/+Vx/Xw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z3wqfnXCAUztKALPovSJ3kA4zqWp4h7TlFfG3WoJtIPqU0t2eooWz+SVODRaEcQ8jBEzleZW0eQt28V4pUbECRNzjL6Rc8yQXNkTe3CACyDCRSSB0Wr1e5kU41kLJNGtTGL1k+U9nmmhS0leJono5uVuWJ92Wt+t2iQ+8skuVvtd4UrluRRuy8/xtQaZj2nTvNG5vqEI2YSyffl5NsNao2KqNzcrP4JHjnLMtqLrYqtC5+xhSVU/31fZh/G5RlmycKKqIrfcKtsvvZh+GrYIsCqWwHG/rNa4DS/jLp41AJxz1hJtK2S4vvqKQ9xOz1E3TBpV0oJz22iEGhU9+WJqIw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 01 Aug 2022 12:45:57 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 01.08.2022 14:21, Xenia Ragiadakou wrote:
> Prevent header file from being included more than once by adding ifndef guard.
> 
> In order to be close to gnu-efi code
> - for x86_64, use the same guard
> - for arm64, that there is no guard in gnu-efi, for consistency,
> use a similar format and position to the x86_64 guard
> 
> Signed-off-by: Xenia Ragiadakou <burzalodowa@xxxxxxxxx>

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