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

Re: [XEN PATCH][for-4.19 v3 8/8] xen/compat: use BUILD_BUG_ON in CHECK_SIZE macros


  • To: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 23 Oct 2023 15:19:44 +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=gLHp8BFw08orCv+V15Gwb4kAblQL5A3jgOOtAhSJ21c=; b=AS0AzRMBzQAnYYGoy2O/yhGL+4eA9E1QmaSAyCtblooI45QXVcVEDBFLosYoqZgcmOX+DlR49FySlKDImrX9WgLoeWBVgFlnbgi3GUg6eElfNodpwkyLks8Lhrw8Dh1uEPJgkKWHWa1hFQpO94Tv8hDS09xlpCaVVyDT9uS/RR4cqYQ6ZlYkpk8ptQdpBFXoEP5KO88PpGOqoM6LocbdjqGYMGXqIQXkUrc7FzGfE3nRBoEuwr+rMbgQ0X+H87tvU7HP9wrUCMoou1LfNBcLR/I7zZlfvUR5e6d4gg6w7pn7QdBkQv7MKUesUEF0XoQYA4WjWGw+L31pe3afMSY0RA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LYW4t6vWKEdlnEk74RwiW0N73XjBDevNta1Xea8E8ZfIu3V4ehVyyLwrisez59gdfJ7sSJcb2E/ojavotijs4saMjzA25+O07zLVR2UYckUuCvgTTBUcqeMaHP7zZ2pDVGhYfoO/vUoUh5hHcur76cVWftupmWQ13bYkhLD6gCjvk8badIin3e7otSEM9wLMR5MH8IDsmJayw2O1k76/h7pAvsEL2WPl67MWXupP8zOAX3p6B682D2p6tjh5LqL+BHj0Pm0l3CMaoZo8Z/RtS80rTpkgHo0qm0nlwB5PvJN8dxZe5JqCpV5+IsPS9e4pkIjQs6LTVGCUnTSQ3U9ocg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: sstabellini@xxxxxxxxxx, michal.orzel@xxxxxxx, xenia.ragiadakou@xxxxxxx, ayan.kumar.halder@xxxxxxx, consulting@xxxxxxxxxxx, andrew.cooper3@xxxxxxxxxx, roger.pau@xxxxxxxxxx, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 23 Oct 2023 13:19:54 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 20.10.2023 17:28, Nicola Vetrini wrote:
> BUILD_BUG_ON is the preferred way to induce a build error
> upon statically determined incorrect conditions.
> 
> This also fixes a MISRA C:2012 Rule 10.1 violation in the
> previous formulation.
> 
> Signed-off-by: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>

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