Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp314760rwd; Tue, 16 May 2023 01:10:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7KnK0ozPvSOOkVy5vO5M5Hdbx5I6gxxYloNSk4JzglvxdeI25xitPQ7g65YjC0BCJhNOfI X-Received: by 2002:a05:6a21:3290:b0:103:964d:4971 with SMTP id yt16-20020a056a21329000b00103964d4971mr26655549pzb.48.1684224635523; Tue, 16 May 2023 01:10:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684224635; cv=none; d=google.com; s=arc-20160816; b=tTpVX2ZT4f9yE/mrEuGSLcLskLNekNWnvB7+mw9cCnbffGbTzP7yxzo99Nc49aNmIP g9S+RAu43kDlPQVUtkuVB0GJDMrXB4a+gg3I1c8eCAi7Edeg3t3x8cXryQayvu6+ObDl dqB9G2HwIEzlVgByodYawoTt6VD3pNCh64WSn0xfbzSSx/YMM3Et2zgbM3NQoaj2IvcQ iDmIAEWjnXLdHYxPHQ4+UuzH24xGz3hUH92lRtAU/eeFHNrqp7+dmgFrAmIKWnJrG2pn B0sNB1nSkiNprs77Bc89dYjMrarCCfaDED9ryNT0bKfPJ+7Geo/Y7E9pLb9eeVHGisYx I58g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=qKHuxejJ0gYscGISO/Lzq18vk4+b4iOzo6srIsttI8Q=; b=l4vpQNxMZcAuwxqeNRDeKv5pwn3eeeGoyTR+B86XTSm54o2TPXcR3bXQDqOYveew/V 9RDy529zb0AkZegERSA3sTGjG5fj/b7cqR7aAd1F6QPs7pGFWOHXbxOvbcjT25DEGI9R UOvvRuSYh6/jJzxciZAzMZvNKeZDbTz1x/ukWomt+kS5Sy6Iwhm8EU5dV6O5eVhkLQ0v ofYWEUMZJDuugWDCadv9D74xQ2tkG3Ixr2CrarUbBDR/kvlWzjXSyGdaOQBHmfEQ4NAJ lfwVFYYnq5V3fb3f9E5AiHK13mbo/upHZ0MXrbx581IRkh/G/vHCvjCySsLtUHTISWPm R5sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=DPG9ROIG; 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=crapouillou.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e17-20020a637451000000b005343c3f77efsi705604pgn.440.2023.05.16.01.10.23; Tue, 16 May 2023 01:10:35 -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=@crapouillou.net header.s=mail header.b=DPG9ROIG; 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=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230435AbjEPHuL (ORCPT + 99 others); Tue, 16 May 2023 03:50:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231468AbjEPHuH (ORCPT ); Tue, 16 May 2023 03:50:07 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DAC13581; Tue, 16 May 2023 00:50:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1684223401; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qKHuxejJ0gYscGISO/Lzq18vk4+b4iOzo6srIsttI8Q=; b=DPG9ROIGCjLeyrplpljQ4YAX1l0ZnPhORRJ6fpBTYqXuRjfrN8DM4fxvjte0yqxnczjIre 2UoUOZOUT6GyFMCi49aKlcljzWX7TgGQh9b8fIVGaCwOA5NJG/CI+PCaI8981caXsONPm/ TkmO2iMhrGoY8qk+QXngBmMa2AAuLu0= Message-ID: Subject: Re: [PATCH v4 5/7] pinctrl: ingenic: relax return value check for IRQ get From: Paul Cercueil To: Matti Vaittinen , Matti Vaittinen Cc: Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , Greg Kroah-Hartman , "Rafael J. Wysocki" , Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , Andreas Klinger , Marcin Wojtas , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan =?ISO-8859-1?Q?Neusch=E4fer?= , Linus Walleij , Wolfram Sang , Akhil R , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, netdev@vger.kernel.org, openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, linux-mips@vger.kernel.org Date: Tue, 16 May 2023 09:49:58 +0200 In-Reply-To: <17d04e9b7d76fbc0804dde8e1c4a429d7f19de80.1684220962.git.mazziesaccount@gmail.com> References: <17d04e9b7d76fbc0804dde8e1c4a429d7f19de80.1684220962.git.mazziesaccount@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hi Matti, Le mardi 16 mai 2023 =C3=A0 10:13 +0300, Matti Vaittinen a =C3=A9crit=C2=A0= : > fwnode_irq_get[_byname]() were changed to not return 0 anymore. >=20 > Drop check for return value 0. >=20 > Signed-off-by: Matti Vaittinen Reviewed-by: Paul Cercueil Cheers, -Paul >=20 > --- >=20 > The first patch of the series changes the fwnode_irq_get() so this > depends > on the first patch of the series and should not be applied alone. > --- > =C2=A0drivers/pinctrl/pinctrl-ingenic.c | 2 -- > =C2=A01 file changed, 2 deletions(-) >=20 > diff --git a/drivers/pinctrl/pinctrl-ingenic.c > b/drivers/pinctrl/pinctrl-ingenic.c > index 2f220a47b749..86e71ad703a5 100644 > --- a/drivers/pinctrl/pinctrl-ingenic.c > +++ b/drivers/pinctrl/pinctrl-ingenic.c > @@ -4201,8 +4201,6 @@ static int __init ingenic_gpio_probe(struct > ingenic_pinctrl *jzpc, > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0err =3D fwnode_irq_get(fw= node, 0); > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if (err < 0) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0return err; > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if (!err) > -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0return -EINVAL; > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0jzgc->irq =3D err; > =C2=A0 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0girq =3D &jzgc->gc.irq; > --=20 > 2.40.1 >=20 >=20