From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 23713345732; Tue, 26 Aug 2025 13:22:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756214562; cv=none; b=HiE3c9AAZgCUvPAAxiBOZHP6NXB4pugl0MoMaJm2RybAjXnU+JkhEIAWKwyHokD/2t3qj+/MMkXUaDfPciYSaa+aHngbJ2JvTmseSn+etYIlEXAfZqsGPOyp6Ah7vWo8+Oan9Rnux/Dvl38cUL2s8BXyJ0Y6zN4Nge41vzU89ro= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756214562; c=relaxed/simple; bh=boFL3UX8WK4VmwjIFFH6lzt+6nXSF+ebCN7ANebjsnQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Tt5dx6m2lGCSTbtTrP7JCe2ZS2Dui1lJyW1Imsm25R7ihgTcwAHbwD7YPEpyywNTNS1KZ/i/d1603ZZPtUiMgmowBBERjKhBAUjQiHWXQwj2WUzE/NBIoUxcwNIYJCXCSp9N5BNW3sCbrIgchFfMjOtcfn6C8nvCA8iODJJKtrE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=P3REiTct; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="P3REiTct" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A391FC4CEF1; Tue, 26 Aug 2025 13:22:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1756214562; bh=boFL3UX8WK4VmwjIFFH6lzt+6nXSF+ebCN7ANebjsnQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=P3REiTctzv6jEO/BdVJqw2B3RMVeNU5/5DDoDnAFFIDWqPmJ5LOBHshCoqWRn/Gyx 6m8/j3k8e+Of+DjG4f1IHBBj0pQ9LP4Blay0HzXLrTrr+A/7jnJzHBFT7I3XZvo04Z NqsuFyh1svGxdN4tMCPB8aCa9PJNCROIxwszwVws= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Heiner Kallweit , Jacob Keller , Jakub Kicinski , Sasha Levin Subject: [PATCH 6.1 154/482] dpaa_eth: dont use fixed_phy_change_carrier Date: Tue, 26 Aug 2025 13:06:47 +0200 Message-ID: <20250826110934.619008585@linuxfoundation.org> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250826110930.769259449@linuxfoundation.org> References: <20250826110930.769259449@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Heiner Kallweit [ Upstream commit d8155c1df5c8b717052567b188455d41fa7a8908 ] This effectively reverts 6e8b0ff1ba4c ("dpaa_eth: Add change_carrier() for Fixed PHYs"). Usage of fixed_phy_change_carrier() requires that fixed_phy_register() has been called before, directly or indirectly. And that's not the case in this driver. Signed-off-by: Heiner Kallweit Reviewed-by: Jacob Keller Link: https://patch.msgid.link/7eb189b3-d5fd-4be6-8517-a66671a4e4e3@gmail.com Signed-off-by: Jakub Kicinski Signed-off-by: Sasha Levin --- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c index 6f5c22861dc9..5cf12c27553d 100644 --- a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c +++ b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c @@ -27,7 +27,6 @@ #include #include #include -#include #include #include #include @@ -3179,7 +3178,6 @@ static const struct net_device_ops dpaa_ops = { .ndo_stop = dpaa_eth_stop, .ndo_tx_timeout = dpaa_tx_timeout, .ndo_get_stats64 = dpaa_get_stats64, - .ndo_change_carrier = fixed_phy_change_carrier, .ndo_set_mac_address = dpaa_set_mac_address, .ndo_validate_addr = eth_validate_addr, .ndo_set_rx_mode = dpaa_set_rx_mode, -- 2.39.5