Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2038554rwd; Sun, 21 May 2023 11:33:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7beYeHCNdnZDx1WO/jGxPbSXh2T5EEcOAaTjWqrI+ESuIOlBjrhGfKh5h0Tmeruqhdtc5R X-Received: by 2002:a17:902:d714:b0:1ac:8475:87c5 with SMTP id w20-20020a170902d71400b001ac847587c5mr8216378ply.56.1684693991861; Sun, 21 May 2023 11:33:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684693991; cv=none; d=google.com; s=arc-20160816; b=Pvls1IjZXRhPgi/IF1IVnMeFnTIr9pj9eiwTLPy2C/4TUfQjkuPeA8JZawP+hCV9bw RJmktM384C7KdI4YD2TbvtB0tBB3ToZ31uqphg+ZPpjeOjjUFR1tcG6BJU08I2QtqUEz mihxV0awHTPMHK4IL0YbuXs8LtmBmAqf0eFPAsaVjAFL4kvkT3nqNzOuviUyZmNd1pyd 9c3VCH70t9gppOvrWqSnCV+ZA/UpO2GTnR4zKLrcJO+ghdO6uXLAJTyKZ2C8qVtmCYEL FjTnT7oSmRE4l6mth5N2DRO5H3uyafk6wevg1AVNCgIl1SKm3BE92RvL3ZCvUd6TfPn/ PKbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:date:from; bh=lmnodvH6+b3VdVjVi47Mw1taei7L+07GLwjeUkvnA18=; b=XYWELVEUeEzpK3Expy93eMvXdS5bqi1BjS8ZzU4lCUzPP4o9cLLEbuV2EVH1y7kl5k QLTboJEs9KaB6G3CoRaE4uvWrLJRdVwflqjEdkVZplJOiHhXwSUkOuAWXIiuEOwfYFqj wIOum1iHkA3fC1EtMlOd8V2xnjjuwLd44xCW3PQLmJt5shkSv8h2JQ6YzEWJcFbal+Qn w4oGiYE6Jpqrv5X1YfQ3efrXcdukYnslA0+1XMeH71bomx3wYuWjKC5eJ8O24Q3rAn6g C5L0acMrGDywUOLmdogLegf2TO6eRXmBnnkBz+AWbSquy6Yz4OlXkMpfIL6DVjmkAbP2 ayLQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gi12-20020a17090b110c00b0025287b1f177si2486055pjb.9.2023.05.21.11.32.56; Sun, 21 May 2023 11:33:11 -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; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229518AbjEUR6I (ORCPT + 99 others); Sun, 21 May 2023 13:58:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231360AbjEURmy (ORCPT ); Sun, 21 May 2023 13:42:54 -0400 Received: from fgw22-7.mail.saunalahti.fi (fgw22-7.mail.saunalahti.fi [62.142.5.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72D7AB9 for ; Sun, 21 May 2023 10:19:36 -0700 (PDT) Received: from localhost (88-113-26-95.elisa-laajakaista.fi [88.113.26.95]) by fgw22.mail.saunalahti.fi (Halon) with ESMTP id a73edbf3-f7fb-11ed-a9de-005056bdf889; Sun, 21 May 2023 20:19:33 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Sun, 21 May 2023 20:19:33 +0300 To: Matti Vaittinen Cc: Matti Vaittinen , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , Greg Kroah-Hartman , "Rafael J. Wysocki" , Wolfram Sang , 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 , Paul Cercueil , Akhil R , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@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 Subject: Re: [PATCH v5 3/8] net-next: mvpp2: relax return value check for IRQ get Message-ID: References: <7c7b1a123d6d5c15c8b37754f1f0c4bd1cad5a01.1684493615.git.mazziesaccount@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7c7b1a123d6d5c15c8b37754f1f0c4bd1cad5a01.1684493615.git.mazziesaccount@gmail.com> X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_NONE, SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no 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 Fri, May 19, 2023 at 02:01:47PM +0300, Matti Vaittinen kirjoitti: > fwnode_irq_get[_byname]() were changed to not return 0 anymore. > > Drop check for return value 0. ... > - if (v->irq <= 0) { > + if (v->irq < 0) { > ret = -EINVAL; ret = v->irq; ? > goto err; > } -- With Best Regards, Andy Shevchenko