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 84D7FC433F5 for ; Fri, 27 May 2022 04:48:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242634AbiE0Est (ORCPT ); Fri, 27 May 2022 00:48:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237156AbiE0Esh (ORCPT ); Fri, 27 May 2022 00:48:37 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D7C641322; Thu, 26 May 2022 21:48:36 -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 ams.source.kernel.org (Postfix) with ESMTPS id 0BF92B82291; Fri, 27 May 2022 04:48:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 9E54AC34113; Fri, 27 May 2022 04:48:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653626913; bh=JHfdVwsS662QWfc0dE9d7zEZI/6vvpAZgwZrMugOF2w=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=fdoClE1IdFwRSz/JMyVs/4gY+h0olJBx0YLAYHcSlaM+ikRdBe5KFi/dvafBkvCLR /VANgaxnGzBNLa+b15kSZXQ5yJgJRVNjdA7XNt8iY7ouXVx6zdsmDCUVLcNIY6M6VC qL4ItD1jJo0duapg2zIf6RrSR1c3taPG06UEcS/JM91f6bSMe5e65twhSjgUNEFVJJ QulhIYueJ1Toqcsyx5cIc9F+isff02UonrkfbsIYuaYyJf1l2zM4uLU5/LiX9lUahP hEitcnIVmi+eB30gGhlNCOGgnxLlojgSomDwy9MYTnAeG4w8nE+LoGE8hf7SLe0GfT Njp1Z+BnJU8Gw== 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 7ADA7F03947; Fri, 27 May 2022 04:48:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] net: lan966x: check devm_of_phy_get() for -EDEFER_PROBE From: patchwork-bot+netdevbpf@kernel.org Message-Id: <165362691349.5864.17166538440351301920.git-patchwork-notify@kernel.org> Date: Fri, 27 May 2022 04:48:33 +0000 References: <20220525231239.1307298-1-michael@walle.cc> In-Reply-To: <20220525231239.1307298-1-michael@walle.cc> To: Michael Walle Cc: horatiu.vultur@microchip.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, UNGLinuxDriver@microchip.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to bpf/bpf.git (master) by Jakub Kicinski : On Thu, 26 May 2022 01:12:39 +0200 you wrote: > At the moment, if devm_of_phy_get() returns an error the serdes > simply isn't set. While it is bad to ignore an error in general, there > is a particular bug that network isn't working if the serdes driver is > compiled as a module. In that case, devm_of_phy_get() returns > -EDEFER_PROBE and the error is silently ignored. > > The serdes is optional, it is not there if the port is using RGMII, in > which case devm_of_phy_get() returns -ENODEV. Rearrange the error > handling so that -ENODEV will be handled but other error codes will > abort the probing. > > [...] Here is the summary with links: - [net] net: lan966x: check devm_of_phy_get() for -EDEFER_PROBE https://git.kernel.org/bpf/bpf/c/b58cdd4388b1 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html