Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp6191678iob; Tue, 10 May 2022 12:26:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiieUuEpxe4eboH71QClGtqlImLjGUOAZL4Nad9DFEvEzEGFmIItEQ1f1XdsMB5gEXz4F2 X-Received: by 2002:a63:680a:0:b0:3c2:7c45:c0ab with SMTP id d10-20020a63680a000000b003c27c45c0abmr18268326pgc.63.1652210766425; Tue, 10 May 2022 12:26:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652210766; cv=none; d=google.com; s=arc-20160816; b=WVGALU+G8/pO8ruflsoOd8Iv2lSrmT4JVQ1pc9AWJ/h1Csdd/ZoC2C6aPXh2nlf4gE 3dlSIFAt6oangGtLb+YDMeNUD85VnGT7sQpPmdgzKjp/mwMQNV4wy5XGmBdvzTEKwirC H6MGGLEhgRU3Fuge2d39+8GNwjjXZsnQkHeexqwlGuzfPs/iKb+zsZrL/Sj1u2UdFdMC p46FjV3qc4Qk/Bf25kHy3JFjuWix6N3g92qk+51ulz3+hd67J2fnF7G5TTMRPVzZvJHN Vs+ytdoANxg6yP2ImEP2oNnpXI4Vq6bVm5OoM2TNJFR7f0WattIMzp52NhXgEfTlIDIm WErA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature; bh=juDnc6k/i8MYrbbhJ/7TI0heqtjD1jIOzaqcDCZGz+Q=; b=WvELr3UfDhSWtb6/S7pmDUNO1fqv3cXZ2IIbZl+M9z2PUqS1l4cZ2fG8nODWCaG0k0 A2nDkh7OZni66kFhKQM6U3pfEYL9v59u216+UTUtF3sV3yISbUOz8fGMl1tdIEKfOX7j CE9HCOIerKau/PM9+l0pHUXeNKI/f2B6LvODZv6fqyv4B9kGAXW36hptBXLkY5g2VU19 PEUpENTjWx9vA6apm6P4En8HcLZRkfbroC56hKjZrNAwcFZL3x3B3vB86J4OIbQLteW6 wAtE6+SBFzuLdA/dm1KNU4K7iIEEXi8kGOIQA6Co2spZtwRBTClY4gVbCiS9i4bZE9bg 3hPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uEbrKQQU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a11-20020a631a0b000000b003c642cb0fefsi253316pga.130.2022.05.10.12.25.50; Tue, 10 May 2022 12:26:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uEbrKQQU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348983AbiEJSeV (ORCPT + 99 others); Tue, 10 May 2022 14:34:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348982AbiEJSeN (ORCPT ); Tue, 10 May 2022 14:34:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DFBD5DBDF for ; Tue, 10 May 2022 11:34:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 25AA460E2C for ; Tue, 10 May 2022 18:34:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 891D5C385A6; Tue, 10 May 2022 18:34:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652207650; bh=8yNzAfOxKFZjkAMggfSelhh2GARAvKpSF0xNSpEDIYQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=uEbrKQQUdFIkbepPMbyCL5JcorARGDdFN/pGDV2EptjjyxY52drl7gqNLDaBmPzvy uaxpsr+uSrY3Va8lvMv/TUElgH35cZfQe4SGaB139Q8YeTAvpKLhzFRWw0+vsFxHlX M2lw1r4k1DCK7wjyIL3an42g2Tq95J6l7dA2rzo0WPd+wU0Ea1CJLonEu71LW04+3U zjtbjzhkfAj7OJqoQK4udAZBwSnSiPJjm0MOjC2iSbMLnaA90txP1u9is58XfrApI1 QdCrvHc87vjE74GU0hMPlTvZkUtXqWGfkovccLqiH+fgrBL1MW4b45NgrQWg0CwBWB qcpTc03zcPOxQ== Received: from sofa.misterjones.org ([185.219.108.64] helo=why.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1noUgR-00AMpf-QB; Tue, 10 May 2022 19:34:07 +0100 Date: Tue, 10 May 2022 19:34:07 +0100 Message-ID: <878rr96xuo.wl-maz@kernel.org> From: Marc Zyngier To: Antonio Borneo Cc: Thomas Gleixner , Maxime Coquelin , Alexandre Torgue , , , , Ludovic Barre , Loic Pallardy , Pascal Paillet Subject: Re: [PATCH 1/7] irqchip/stm32-exti: set_affinity return IRQ_SET_MASK_OK_DONE if no parent In-Reply-To: <20220510164123.557921-1-antonio.borneo@foss.st.com> References: <20220510164123.557921-1-antonio.borneo@foss.st.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: antonio.borneo@foss.st.com, tglx@linutronix.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, ludovic.barre@foss.st.com, loic.pallardy@foss.st.com, p.paillet@foss.st.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Antonio, On Tue, 10 May 2022 17:41:17 +0100, Antonio Borneo wrote: > > From: Ludovic Barre > > If no parent, there is no specific action to do in > stm32 irqchip, and so return IRQ_SET_MASK_OK_DONE. > > Signed-off-by: Ludovic Barre > Signed-off-by: Antonio Borneo > --- > drivers/irqchip/irq-stm32-exti.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/irqchip/irq-stm32-exti.c b/drivers/irqchip/irq-stm32-exti.c > index 9d18f47040eb..10c9c742c216 100644 > --- a/drivers/irqchip/irq-stm32-exti.c > +++ b/drivers/irqchip/irq-stm32-exti.c > @@ -614,7 +614,7 @@ static int stm32_exti_h_set_affinity(struct irq_data *d, > if (d->parent_data->chip) > return irq_chip_set_affinity_parent(d, dest, force); > > - return -EINVAL; > + return IRQ_SET_MASK_OK_DONE; > } > > static int __maybe_unused stm32_exti_h_suspend(void) Can you *please* use a cover-letter when sending more that a single patch? I expect there is an overarching motive to this series. Where is it described? Also, please look at the way the subject lines are written for most irqchip patches: irqchip/foo: Frobify the bar callback return value Note the capital letter after the ':', and the fact that it starts with a verb. Here, I would have liked to see: irqchip/stm32-exti: Fix set_affinity() return value and leave the meat of the description to the commit log (instead of saying the exact same thing twice). Thanks, M. -- Without deviation from the norm, progress is not possible.