From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB5F9C25B08 for ; Wed, 10 Aug 2022 11:18:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231986AbiHJLSI (ORCPT ); Wed, 10 Aug 2022 07:18:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231961AbiHJLSF (ORCPT ); Wed, 10 Aug 2022 07:18:05 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 331FE71BDD; Wed, 10 Aug 2022 04:18:05 -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 C345E61217; Wed, 10 Aug 2022 11:18:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2637C433C1; Wed, 10 Aug 2022 11:18:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660130284; bh=X/igtBEfqT0CYUtASMjqgR3fyAytacOaSIyuErvKw9M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HlT0P+nYbwJ2flfFtMbHArKjbtrGs2UfSXkG/90BCvZRZhwItH47p0W56db4hjVLX qOAwfhPAEQXiEufCZS4mddD/cz2+qTOMhzEEZL9DTQsiAPsrIt5wj+BYpbQbofAlmj wqX3yjHG3RV+RUVf3ks8zNgMVzi88wByCEsTX1AVIG0b0ObH2fwN8zGvOguxrZq7ZD qp3GZb9CKUs8MVfp+R3f4IhMp3jGVFOpx3eq148DKWYJAyj6qXl2ofJpWgrBVNEnwR zD9qKN3lXOXE03Ks1jSsU/kaeYCOOA1DpB+E3QmvAMzA1insIbcg8rpTQpUy0u9KmW 3H4Y+10QSdHQA== Date: Wed, 10 Aug 2022 12:17:59 +0100 From: Lee Jones To: Christophe JAILLET Cc: Samuel Ortiz , Milo Kim , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH 2/2] mfd: lp8788: Fix an error handling path in lp8788_irq_init() and lp8788_irq_init() Message-ID: References: <18398722da9df9490722d853e4797350189ae79b.1659261275.git.christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 31 Jul 2022, Christophe JAILLET wrote: > In lp8788_irq_init(), if an error occurs after a successful > irq_domain_add_linear() call, it must be undone by a corresponding > irq_domain_remove() call. > > irq_domain_remove() should also be called in lp8788_irq_exit() for the same > reason. > > Fixes: eea6b7cc53aa ("mfd: Add lp8788 mfd driver") > Signed-off-by: Christophe JAILLET > --- > drivers/mfd/lp8788-irq.c | 3 +++ > 1 file changed, 3 insertions(+) Applied, thanks. -- Lee Jones [李琼斯]