Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1602278rwb; Fri, 12 Aug 2022 03:59:25 -0700 (PDT) X-Google-Smtp-Source: AA6agR5Ml35vWBLxVcyd9vFjQwlj24rtlFgDNg6udCJf61jl72IRcO0FpeL8ScZAt+6KEBplNAG+ X-Received: by 2002:a17:907:11c1:b0:731:5c53:d912 with SMTP id va1-20020a17090711c100b007315c53d912mr2258868ejb.354.1660301965728; Fri, 12 Aug 2022 03:59:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660301965; cv=none; d=google.com; s=arc-20160816; b=tAU0H2FIFmQ4tvkZXb8cLV4Z7qSZNhCjFn+vF7sxzpOUb7yYqNef1A69wc0l7B166s JDPlUpjcjow9H5zEYdVp221V0zG/YxpwNqArJsd7VMo200+j8vSVyWl3r3GzfHu8BCqW m7MIUMvj6qZ5JMBxSHN2XkOxalKNpumZxZsZEg4Vlxmg5psHimmk3UfgVP0JJGsa19t2 bpk9S04HZ4Au1NQ2wvEymEX0gsjGu4rQ1GmfmSSdi66FnTyLZI9evnCeRfBzSZ717Iq7 ep3n51lfXWexr3CvwotBtp17n7mwBdzKfif4TTE3oRSsJu9wWWT2ZIT1Qk4RkFwojjaR uGdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=aoNuzvjN+Ltu9zm3m+j31AjDlfh0MDAXFGXoGE/mkto=; b=GhffJRFCvZexONx8OaNtwLWbC7EMbZmzvWraGGBpNdcFGD2AKl9ARPDR+0lr2aNupp gGp7VtcUPi3z1s4lEgWlTodlJ3zYmIJWEcNR86q0UzVNy3TOieDLiLAZJ2hi047Ud7OT XS3N19ZZ1WK+LlC3eagILL/Kh8HD5/rsr4dXtX8zR8DVpaan7Dsx6JnxtvLImGsXThH/ 724/0a8cdF+w3mty4/UIz5NqmB+hA6H1w+SA4ohH0PjYxpDbsdgrKOe1KhUOd1PhSbqb oqNfzhj9UDYuguAtrlRXbcEKVtfUrqGnQpVyt9y7ZALyMtVsi6hpjyTJ1m+RWZ29x+LO n/tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kALZibqJ; 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 y18-20020a50ce12000000b0043a23aed655si1731909edi.386.2022.08.12.03.58.59; Fri, 12 Aug 2022 03:59:25 -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=kALZibqJ; 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 S238627AbiHLKk3 (ORCPT + 99 others); Fri, 12 Aug 2022 06:40:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237291AbiHLKkV (ORCPT ); Fri, 12 Aug 2022 06:40:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C1A11CF; Fri, 12 Aug 2022 03:40:15 -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 B1DD8616C6; Fri, 12 Aug 2022 10:40:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 15135C433B5; Fri, 12 Aug 2022 10:40:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660300814; bh=6KT4pab0sSZtxp5EluswxZ9JlwS3DXqQ+L8sCMstgeo=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=kALZibqJciyy1CE2tq6b0VN5RJPppDhohrCcpVeL8arLT2OjkYVBZ9LKATnjegK8l W8ZQ2TRZB2mzKNfqIGDNLfdnIEd+LRxs2riqeAt4alixX93rr+7d/7ISwtO/R/8+7d ru/THuAEEM/NV4Hzm0JqFWoMdsW0+P2me+680wbLi5QblbVXoWGTi9/JE2bvaHuJcZ Uw/aSPXsMugU7GglasL6el4DEXlIHlOYhU/AvGNqzO5tQd4FOr5SvfZ7q1MGBkdLkv 2ai5KFIAs+qh7Ej2twGdmWfp3qJW89qYEE00BPu76kEjEUCZSovQa+RX1atqrGcGOW bAAVfplCriBsw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id EF62EC43143; Fri, 12 Aug 2022 10:40:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: lan966x: fix checking for return value of platform_get_irq_byname() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <166030081397.15777.15613376655712609091.git-patchwork-notify@kernel.org> Date: Fri, 12 Aug 2022 10:40:13 +0000 References: <20220812030954.24050-1-liqiong@nfschina.com> In-Reply-To: <20220812030954.24050-1-liqiong@nfschina.com> To: Li Qiong Cc: horatiu.vultur@microchip.com, UNGLinuxDriver@microchip.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, yuzhe@nfschina.com, renyu@nfschina.com, jiaming@nfschina.com, kernel-janitors@vger.kernel.org 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 Hello: This patch was applied to netdev/net.git (master) by David S. Miller : On Fri, 12 Aug 2022 11:09:54 +0800 you wrote: > The platform_get_irq_byname() returns non-zero IRQ number > or negative error number. "if (irq)" always true, chang it > to "if (irq > 0)" > > Signed-off-by: Li Qiong > --- > drivers/net/ethernet/microchip/lan966x/lan966x_main.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) Here is the summary with links: - net: lan966x: fix checking for return value of platform_get_irq_byname() https://git.kernel.org/netdev/net/c/40b4ac880e21 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html