From patchwork Sun Aug 27 13:41:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 13367283 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 E3228C83F01 for ; Sun, 27 Aug 2023 13:54:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=FpRaJTeGV8HDQbfSj7U4Jff7ZXdvhjkZbJ8bN/vjJp8=; b=uIc/ArHkGvnkUJ Fm9VJIP+VxMb7uis9XiTdLhMmoTH2cjL6+5TaV6aMw7junH4MFR1N1JScN96za7lrZGa7wiqaRmua 8kLDLCGQ+Yo7115L25GqoHMpaND4uKe1LZ92Aw6kil4TEbsBmCAQlwd/auZB2ticz11tbbD6yYHZg cUEj/1OgQ42zYZmLTwbyBZxq6NfuvXYb2YZz2aAbUUIEPjke6Fowofzf6oS4fXEo7/dRe4IYnrDzF OFh72dSOWmGfOquy8q4bM6Q+dROIeSCTHCnnN9iCtMl2ec715mJMMaHvZkP7V5ohAOcsu82gYdlKM Q6qG7LVCSRwUu0cG5llQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qaGDC-008809-2T; Sun, 27 Aug 2023 13:53:54 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qaGD5-0087yD-0X for linux-arm-kernel@lists.infradead.org; Sun, 27 Aug 2023 13:53:48 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id ACA1460EE2; Sun, 27 Aug 2023 13:53:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D13B4C433C8; Sun, 27 Aug 2023 13:53:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1693144426; bh=b1kK7Dz94GVdmWTD3uMOP5lr20LHYQ/HNK30s5G1xWQ=; h=From:To:Cc:Subject:Date:From; b=J7iqqsoca1RQhX0MDlxFMt+CDy/1lz+AquUHzDkG8IjDA7/IUiQ+dLIRLojeSJLQn ol+t6JDZCxG/qv2FmBSgvEFb63SnAfBzz0wkbBB8/xQbWAJOdM8AmlIAvkhaJY0DiB wectLoOwvHfQv7+WW7JdtXe2359iT/u7akjCo5OuyokykABNFRZ7sTL5VvE7rkKbPx W3G8onw2trcD1gIKfUlIRoEJBmnDSY9RmCdjjbhz/EwMX29Jc9G9hOOpFaczq8EwRC 3Cf1UGifzwWeurywMHocRK7zWD8i0mQJRGAhg0NzYLUgcTE2RPyHTr/zLiPdu4l4SF TJn9NFL2l6+7Q== From: Jisheng Zhang To: Emil Renner Berthing , Samin Guo , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin Cc: netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 0/2] net: stmmac: dwmac-starfive: some improvements Date: Sun, 27 Aug 2023 21:41:48 +0800 Message-Id: <20230827134150.2918-1-jszhang@kernel.org> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230827_065347_247153_AC2EB34E X-CRM114-Status: UNSURE ( 6.17 ) 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 This series is to improve the dwmac-starfive driver by correcting error handling and removing unnecessary clk_get_rate(). Jisheng Zhang (2): net: stmmac: dwmac-starfive: improve error handling during probe net: stmmac: dwmac-starfive: remove unnecessary clk_get_rate() .../ethernet/stmicro/stmmac/dwmac-starfive.c | 38 +++++++++++-------- 1 file changed, 22 insertions(+), 16 deletions(-)