Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 23FADC47258 for ; Wed, 31 Jan 2024 09:18:50 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.673857.1048357 (Exim 4.92) (envelope-from ) id 1rV6jy-0000ut-40; Wed, 31 Jan 2024 09:18:42 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 673857.1048357; Wed, 31 Jan 2024 09:18:42 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rV6jy-0000um-0w; Wed, 31 Jan 2024 09:18:42 +0000 Received: by outflank-mailman (input) for mailman id 673857; Wed, 31 Jan 2024 09:18:40 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rV6jw-0000ue-Rp for xen-devel@lists.xenproject.org; Wed, 31 Jan 2024 09:18:40 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rV6jv-00010Y-La; Wed, 31 Jan 2024 09:18:39 +0000 Received: from gw1.octic.net ([88.97.20.152] helo=[10.0.1.102]) by xenbits.xenproject.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1rV6jv-0002JS-EI; Wed, 31 Jan 2024 09:18:39 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org; s=20200302mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID; bh=2A4dInAeKY4pI4uVLsSq9t6AkulXf1MnA3dt7v6K63A=; b=m3ulKwn/x4gxKuFlFbbBqGrJVm U55FDWATwq9TS+txQyYMyMCEbIG2bRkdcAND6hizxdZxSru9YLKqQJ704/fEnBFF6tmJGpsk1SeHV rSvzED3YSTYz4bu5+KDn0x3oW629ccbeX9usMha0QX8tg44acNTk5CHleF28dEGK+x/0=; Message-ID: Date: Wed, 31 Jan 2024 09:18:36 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] xen/*/asm-offset: Fix bad copy&paste from x86 To: Andrew Cooper , Xen-devel Cc: Jan Beulich , =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= , Wei Liu , Stefano Stabellini , Volodymyr Babchuk , Bertrand Marquis , Michal Orzel , Bob Eshleman , Alistair Francis , Connor Davis , Shawn Anastasio References: <20240130222808.106006-1-andrew.cooper3@citrix.com> Content-Language: en-GB From: Julien Grall In-Reply-To: <20240130222808.106006-1-andrew.cooper3@citrix.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Andrew, On 30/01/2024 22:28, Andrew Cooper wrote: > All architectures have copy&pasted bad logic from x86. > > OFFSET() having a trailing semi-colon within the macro expansion can be a > problematic pattern. It's benign in this case, but fix it anyway. > > Perform style fixes for the other macros, and tame the mess of BLANK() > position to be consistent (one BLANK() after each block) so the intermediate > form is legible too. > > No functional change. > > Signed-off-by: Andrew Cooper With Jan's comments addressed on the Arm side as well: Acked-by: Julien Grall Cheers, -- Julien Grall