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 0FB87C001B0 for ; Tue, 13 Jun 2023 19:47:58 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.548381.856316 (Exim 4.92) (envelope-from ) id 1q99zE-0007gT-T0; Tue, 13 Jun 2023 19:47:28 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 548381.856316; Tue, 13 Jun 2023 19:47:28 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1q99zE-0007gM-Pi; Tue, 13 Jun 2023 19:47:28 +0000 Received: by outflank-mailman (input) for mailman id 548381; Tue, 13 Jun 2023 19:47:27 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1q99zD-0007gG-OG for xen-devel@lists.xenproject.org; Tue, 13 Jun 2023 19:47:27 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 1e701161-0a23-11ee-b232-6b7b168915f2; Tue, 13 Jun 2023 21:47:26 +0200 (CEST) Received: from [192.168.1.98] (unknown [176.206.20.8]) by support.bugseng.com (Postfix) with ESMTPSA id D4BCD4EE0738; Tue, 13 Jun 2023 21:47:23 +0200 (CEST) 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" X-Inumbo-ID: 1e701161-0a23-11ee-b232-6b7b168915f2 Message-ID: Date: Tue, 13 Jun 2023 21:47:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.3.0 Subject: Re: [PATCH] xen/evtchn: Purge ERROR_EXIT{,_DOM}() Content-Language: en-US To: Andrew Cooper , Julien Grall , Andrew Cooper , Xen-devel Cc: Jan Beulich , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , Wei Liu , Stefano Stabellini , Volodymyr Babchuk , Bertrand Marquis References: <20230613162220.3052184-1-andrew.cooper3@citrix.com> <86f357da-2fe1-7fe4-c061-d30b8e5bcbd3@srcf.net> From: Roberto Bagnara In-Reply-To: <86f357da-2fe1-7fe4-c061-d30b8e5bcbd3@srcf.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 13/06/23 19:45, Andrew Cooper wrote: > On 13/06/2023 6:39 pm, Julien Grall wrote: >> Hi, >> >> On 13/06/2023 17:22, Andrew Cooper wrote: >>> These are disliked specifically by MISRA, but they also interfere >>> with code >> >> Please explicitly name the rule. > > I can't remember it off the top of my head. > > Stefano/Bertrand? Rule 2.1 >>> legibility by hiding control flow.  Expand and drop them. >>> >>>   * Rearrange the order of actions to write into rc, then render rc >>> in the >>>     gdprintk(). >>>   * Drop redundant "rc = rc" assignments >>>   * Switch to using %pd for rendering domains >>> >>> No functional change.  Resulting binary is identical. >>> >>> Signed-off-by: Andrew Cooper >> >> Reviewed-by: Julien Grall > > Thanks. > >> >>> base-commit: f29363922c1b41310c3d87fd9a861ffa9db9204a >> >> I notice you have a few e-mail contain this tag. This is a pretty >> useful when reviewing patches. Do you know which tool is creating it? > > Plain git, and the capability has been around for years and years but > nigh on impossible to search for or find in the manual.  Searching for > "base-commit" gets you a tonne of intros of how to rebase. > > You want > > [format] >         useAutoBase = "whenAble" > > or pass --base=auto to git-format-patch > > ~Andrew >