Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5783620rwl; Tue, 4 Apr 2023 03:42:00 -0700 (PDT) X-Google-Smtp-Source: AKy350Z7OPflQRb2J/xWcIb4YO/OgF2N804Ep9O2LiGoXp9LZIm0ghYTROtzhFmwsivom5JBA7FH X-Received: by 2002:a17:906:b044:b0:944:49ee:aea2 with SMTP id bj4-20020a170906b04400b0094449eeaea2mr2025426ejb.71.1680604919936; Tue, 04 Apr 2023 03:41:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680604919; cv=none; d=google.com; s=arc-20160816; b=lAToAxji1jEUatvw0eG+LLU5y7VX/L4Uop71qMr+4WFadm60nJi7qYBHrirDQqxFk5 1GyR6yE7193y2aRYglDyFpxWZreNjV124RH/wLjR/yNSqC+x7kS8ta8E4fsCer1uLAmZ JE1zhR2uykseC3wYJ67ZMAoy7ZBMi0/1aJYQ5VwaA9I6/M3NGzJLObK62kLeelbyWolD nKdXQ5XzP6bvUQaz6LaZ7txRzszHkap0/f7hhPlNvY1ZHREk9f4CFFC6+GeuK+9p4N+O k3vKeKrBMCqNfR46NPzQfceGyHkwfuJM2Weue1E5FzfH3CnOnGqGLvodxZdbjF68dOve z5SQ== 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=mp8YDAVyWCxZz+DI21lG7v5lCdSRPD2Wun31mqtWeEc=; b=JBkQ/S9svVzvRpl5ny7vZsaKf7usHx+nki5zXZZoKz7GF/VfKahUEm3BhaO++CrdRe ySncDXylkLCYItGPSUM3cqDAV+mGM/4rQmKN33N5xBQQwx4BgRxjcOin1UzRyDEEASSQ R2RlMWZ5S1eV8IkCe+uNFiEu+1KbktZcw96pF+pq0FiBVBKGD5mYQzkktRYRpL7fT3Wh aGJ7GPtcJrsEjuEJPQ08mykL+LNsrVMy+095Rh+x7YpJsFYvQ6U6mXvJyKqpbvVbwCWt Q0Za2VWQX8VGUvuJh6ODDRHP0YiKks1OBGl49Yt5JmPAbqylGv+aPmOty4753PHlCF81 DWUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="KSY/uu8L"; 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 i5-20020a170906698500b0093f50f55532si562662ejr.672.2023.04.04.03.41.35; Tue, 04 Apr 2023 03:41:59 -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="KSY/uu8L"; 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 S234500AbjDDKkV (ORCPT + 99 others); Tue, 4 Apr 2023 06:40:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234439AbjDDKkT (ORCPT ); Tue, 4 Apr 2023 06:40:19 -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 4B3F0171D; Tue, 4 Apr 2023 03:40:19 -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 D7B6860B88; Tue, 4 Apr 2023 10:40:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 3840DC433D2; Tue, 4 Apr 2023 10:40:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680604818; bh=BHkY1bcIaRuZGe2FrY9mgc4hNdy35R78BngNjIii8GI=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=KSY/uu8LtWpijTxLNl9FnJvT9iMEx2lJsrf1lG7fhgnXWhzlDG6qdcbRwM7wL6BCH XbVo2NHjpVU7bHsqd24oviaoM+hGEVB6bHNYgFe1GVJIyMR7XDWa5T4Hlp6L1+dbRG KbvOXwDLlSlfBTX4JHANwNHEw0TR/O3Pxx9FCVhYRJh+agZNBIel8H0AvuqKViVLCX kEo4Eyf+49EAjtwfDZOuTQD59CbV+vdzMnp1siaWywtIdMhmA+KoORUUQBnmjBz37v Ae3dCtbbixssRlLm6T9JtlDIvPIeuoj1FWstuqnfDnBv+81JHkVlxZ91CvexmRdLZ8 kSdF5enPBl+Gg== 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 19DBEE5EA85; Tue, 4 Apr 2023 10:40:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] net: ethernet: ti: am65-cpsw: Fix mdio cleanup in probe From: patchwork-bot+netdevbpf@kernel.org Message-Id: <168060481810.9911.17255208221715242157.git-patchwork-notify@kernel.org> Date: Tue, 04 Apr 2023 10:40:18 +0000 References: <20230403090321.835877-1-s-vadapalli@ti.com> In-Reply-To: <20230403090321.835877-1-s-vadapalli@ti.com> To: Siddharth Vadapalli Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, rogerq@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, srk@ti.com X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 (main) by Paolo Abeni : On Mon, 3 Apr 2023 14:33:21 +0530 you wrote: > In the am65_cpsw_nuss_probe() function's cleanup path, the call to > of_platform_device_destroy() for the common->mdio_dev device is invoked > unconditionally. It is possible that either the MDIO node is not present > in the device-tree, or the MDIO node is disabled in the device-tree. In > both these cases, the MDIO device is not created, resulting in a NULL > pointer dereference when the of_platform_device_destroy() function is > invoked on the common->mdio_dev device on the cleanup path. > > [...] Here is the summary with links: - [net] net: ethernet: ti: am65-cpsw: Fix mdio cleanup in probe https://git.kernel.org/netdev/net/c/c6b486fb3368 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html