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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 90486EE57CC for ; Thu, 12 Sep 2024 00:11:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Date:Message-Id:From:Subject:Content-Transfer-Encoding:MIME-Version: Content-Type:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=SAaqtBSBU8rrczEBd4on3F3yVhASM+RBq6ss7b5vBTc=; b=kQEDLBqJoGdRd1yWZhZi6z2zkx kC8oTgeOvM6+vb/ZopylxxeRInXVvqnlLe2XYvqY6oOLDqVgdMNvf2sPT6nA3vQm6pT4w/ZNOeOol aBOUJevQSwPDQkrn6sIuHs+joV7XeA0jkN3JsU9AaP6hGSZrTHtcG7j2HekbTKF3gkscrpmsvnwLw EnejcVr9T8rCa9uKFEHpWnyfXK20rCrjMNiHG3DNt0T+4d2uaL8RV8RdpTLOm5BRckmCwgJG6KImo RNoCR3NIGRDCksDrD3H0nnNYwcOYmrGq1PT2r5B9ja5OznoSvAdYr48bxxl3yZs4kidO2FzCKnXHb 7t0TnqcQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1soXQy-0000000BOgp-1fIL; Thu, 12 Sep 2024 00:11:40 +0000 Received: from nyc.source.kernel.org ([147.75.193.91]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1soXPt-0000000BOSQ-3eVu for linux-arm-kernel@lists.infradead.org; Thu, 12 Sep 2024 00:10:35 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 5D066A416C2; Thu, 12 Sep 2024 00:10:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 97B72C4CEC0; Thu, 12 Sep 2024 00:10:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726099829; bh=rP3n2Z81E+GHipTuYvkjjLRamE9/nTaunYCwiTU76f0=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=V/GsMvByWGG4B+ji1lFQJN9ynd7iDwan9/0j0AOo4MbLSQsOVKfi2UCQIkejPmfkw QU+sPm/JRrWJ+65kt3gCw9Zu0obegkbEzwt1yBJfiHUoGnbn/FApi3A1iqXkPRM/TF mJXXcZ5N0h3dQuWoft5AA8WNgjeOONtGnRQY4ZdRUq+VVMxppb9e9O6FlmLnd06if6 HRSV5r+F8cXvVccZkdsLQ4NgfEE7r74M0sbnXZgDQ+g3fT7LtOPUeTdve9rI/zS34r 9BtdZz76H9o7g94hOyDP6idB5PLfqN237RQSZeMsdlVaE9cfRfMpS7jXjDrpHS9VQN JI4nt8cnMrcjQ== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id EB3093806656; Thu, 12 Sep 2024 00:10:31 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next] net: ethtool: phy: Check the req_info.pdn field for GET commands From: patchwork-bot+netdevbpf@kernel.org Message-Id: <172609983077.1114191.12993526225003591845.git-patchwork-notify@kernel.org> Date: Thu, 12 Sep 2024 00:10:30 +0000 References: <20240910174636.857352-1-maxime.chevallier@bootlin.com> In-Reply-To: <20240910174636.857352-1-maxime.chevallier@bootlin.com> To: Maxime Chevallier Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, andrew@lunn.ch, kuba@kernel.org, edumazet@google.com, pabeni@redhat.com, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, christophe.leroy@csgroup.eu, herve.codina@bootlin.com, f.fainelli@gmail.com, hkallweit1@gmail.com, vladimir.oltean@nxp.com, kory.maincent@bootlin.com, jesse.brandeburg@intel.com, kabel@kernel.org, piergiorgio.beruto@gmail.com, o.rempel@pengutronix.de, nicveronese@gmail.com, horms@kernel.org, mwojtas@chromium.org, nathan@kernel.org, atenart@kernel.org, mkl@pengutronix.de, dan.carpenter@linaro.org, romain.gantois@bootlin.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240911_171034_003914_80DE484E X-CRM114-Status: UNSURE ( 9.63 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Tue, 10 Sep 2024 19:46:35 +0200 you wrote: > When processing the netlink GET requests to get PHY info, the req_info.pdn > pointer is NULL when no PHY matches the requested parameters, such as when > the phy_index is invalid, or there's simply no PHY attached to the > interface. > > Therefore, check the req_info.pdn pointer for NULL instead of > dereferencing it. > > [...] Here is the summary with links: - [net-next] net: ethtool: phy: Check the req_info.pdn field for GET commands https://git.kernel.org/netdev/net-next/c/fce1e9f86af1 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html