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 9F03CC433F5 for ; Mon, 21 Feb 2022 15:59:13 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.276352.472489 (Exim 4.92) (envelope-from ) id 1nMB5Z-0001yE-TA; Mon, 21 Feb 2022 15:59:01 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 276352.472489; Mon, 21 Feb 2022 15:59:01 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nMB5Z-0001y7-Pg; Mon, 21 Feb 2022 15:59:01 +0000 Received: by outflank-mailman (input) for mailman id 276352; Mon, 21 Feb 2022 15:59:00 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nMB5Y-0001xz-9F for xen-devel@lists.xenproject.org; Mon, 21 Feb 2022 15:59:00 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nMB5X-0000IS-Vs; Mon, 21 Feb 2022 15:58:59 +0000 Received: from [54.239.6.189] (helo=[192.168.5.64]) by xenbits.xenproject.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nMB5X-000390-Pw; Mon, 21 Feb 2022 15:58:59 +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=Cyh3S6FyANJ9AdFKJ0JpDQ1uhmOVwLLun35IdbpvCUo=; b=3JjzOk6dtHyf5/p+T1PFyRMbWy izhb5wgJBR4WEh0Y9HfmALdQRnKlIBqZNnGqEC9AqmMB4aWsJ8Ht7oxC4V0bccMiRHqJ91zfcUnq6 kUG6nlXnEEW7ABImuyev4dH4lM9C7/W95AUUSFh/yjXHEFk64UmtKQgskb6JRqnR3pH8=; Message-ID: <1531f49d-c74c-8a41-a917-cfe76bee8e7d@xen.org> Date: Mon, 21 Feb 2022 15:58:57 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH] xen/arm: Rename psr_mode_is_32bit to regs_mode_is_32bit To: Michal Orzel , xen-devel@lists.xenproject.org Cc: Stefano Stabellini , Volodymyr Babchuk , Bertrand Marquis References: <20220221105931.12028-1-michal.orzel@arm.com> From: Julien Grall In-Reply-To: <20220221105931.12028-1-michal.orzel@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Michal, On 21/02/2022 10:59, Michal Orzel wrote: > Following a discussion [1] it seems like that renaming work has > been forgotten. This is in my todo list of clean-up I need to do for Xen. But I haven't yet had a chance to look at it. Thank you for taking a look! > Perform renaming of psr_mode_is_32bit to > regs_mode_is_32bit as the function no longer takes psr parameter. If we modify psr_mode_is_32bit(), then we should also modify psr_mode_is_user() because they have the same prototype and we should keep the naming consistent. > > [1] https://marc.info/?l=xen-devel&m=156457538423787&w=2 NIT: The first sentence and this link adds value for the review on the mailing list (we know where the request came from) but doesn't add any after the commit message (there are no extra information in them). So I would move this information after ---. This will get dropped on commit. Cheers, -- Julien Grall