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

Re: [PATCH] xen/xsm: dummy.h: Fix MISRA C 2012 Directive 4.10 violation


  • To: Xenia Ragiadakou <burzalodowa@xxxxxxxxx>
  • From: Luca Fancellu <Luca.Fancellu@xxxxxxx>
  • Date: Thu, 28 Jul 2022 07:44:17 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=2; 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=XrUADJBNWozHG+GIAokSBOrpOcYUlc9ScSm+9yKHsLU=; b=UoKHJehtqpybJRn2jVkrH7MhZjn7YlxFkj0GEi/cOSa+A1bLx6fLJwJOLlmPGVuHQy6FHCh4daZ7/yW3PMwZjM+NoYUGToaUDk5fVab7kj5JE03dR5DnMasFvn/BZHBsobHkzwMGDqWq0fmdVtNqQxrWqoUARJuaQo6x1LfH2qILQNp3vXWfENNYSHJA4V76cD2B2Jz/eFghCWchtsp4vFjIOgsY8k0iXSzxkpmf9QKOfY0N7DuX3FsrJ3b8zc4UwdYoLsph/i3a5rPhs1dZcP6OFbT9Ik7I3vWUqCGG38kfzKWX1bqH/u804Pb4YZS+BVu66atenREE4wyy38xRIQ==
  • 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=XrUADJBNWozHG+GIAokSBOrpOcYUlc9ScSm+9yKHsLU=; b=O+dRkq86pPMcDgjt/k+onmXgorxI7PSJdKcGf4n2DZmqMEpEMaQHpfsqVBbjjMcjFBTRgRTMuh73Jl0GxVQwUlpzY2UBu7jsY5rsc9GVt1FgKpkMI2tT+/J8IxXbGxFJUq1HbwtGR+zd+cT9/V0Qya4C0OwOPqBdPu1FsxLKYaMDYdT11JgKk6a7czggXhNSf9btpLI7rlUbK135tq0hTdrXqgH1VQ5oTdlfs5UT4at1l0dBwEAinZraai0ijayvPlhAlrgjD7EsVxgoPlFWOqvmnYTjLRo9pyx8Or5B3z5IU4zMDzHYsXZffOtRARsfLG0qf9spu3rn/DIaTmh8mQ==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=TzOGbTxrGHnT668Nl9x8u4HAOcXYxSnqro7b6XCS+e33TunDA1e1DH9ow4V87fVWjv2P0V+HIGtydcULblkoryKPHIarfqeq/rRytfwfdlMf27y9vzgeH665m2yw+RPx+mJrkwzG3OPs3LJ6LlXbsbqOX2dmkeWQTkRNlTym1be9QTx7H5R+G6yPXuMlzuaF+ie7OgcnRs0VkJhhYoUncpmaelmR/quvwmED3AeQHvJW9PRdAlJ82g20HzW3qwZhOiAAObh/ufEJ5yvPOVGprBgT3jWMODzsJElHr0jCEoWqStlJsch8YUChuKnp3pkx59GqcP7yX/Y6p3d3GwVi4Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i9XQZoCBfouhFfm3Q/6ZEURpoVVg2HK8A2+7ZRbIzS2RGY/L9YwqjT3LC0yC5Tufn+jYwy5QwciujRgCwZmM1bGWg8U3qmq7ZCnYDMfmHw6kmJLuNXQ6JL62vigTj/exiBbbHmIJ+WvQLLbnJw/KNBZ0Dvl2WCHCcfvOOQelMRsdkDZgIuLqnkHdu2duOmP3DUNc2nr6TjrSEkrsAcZA7DUfOEU96mvVPjOseBPc6GDaz+rym0EpXGvFU1wik1EDapQhzc1NwsdtU02hBbvebHorkDY9YZkXSJmTpHr8qsJ0bfyRrsx2T1MWpcrl0xa1HvfKOrg/KDFwe2WnOgE0PA==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 28 Jul 2022 07:44:43 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHYocxnMww85Hdpe0SsTcfV9898uq2TaBWA
  • Thread-topic: [PATCH] xen/xsm: dummy.h: Fix MISRA C 2012 Directive 4.10 violation


> On 27 Jul 2022, at 16:19, Xenia Ragiadakou <burzalodowa@xxxxxxxxx> wrote:
> 
> Protect header file from being included more than once by adding ifndef guard.
> 
> Signed-off-by: Xenia Ragiadakou <burzalodowa@xxxxxxxxx>

It makes sense!

Reviewed-by: Luca Fancellu <luca.fancellu@xxxxxxx>





 


Rackspace

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