From nobody Mon Sep 30 05:08:16 2024 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XH8Gn3JY1z5XlNv; Mon, 30 Sep 2024 05:08:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XH8Gn0N6Lz4X2K; Mon, 30 Sep 2024 05:08:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727672897; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ObqINiN7nGokQNMlnmkSiWpXYTBYyd7QF446CaKBxOk=; b=Q8/tNb12dHFl49GjnmUHdTHk0KSrALQFAiXxO24n1ZcYzrBDPWri2dvNSduNje+Lz5k6u2 q4r0fI6cRSEWE6K2b6XRmXuZ6fADsMxAqj3PKB55PKDvEVNQ14GtuTcVAd4aPVnLKrPY8X KkZ5Rlb/fA3iJD+4NoYF3xjLNSAIXmjVyOhDyMVyyo+tilM0bnHjjHdxkvH5zsNnzJ/lhn T/FKOxNqTnIWeYB/KTDnTb/pF2o7fuC31eI/izNA4VqgnKQ+50kvvC6hU359pdeYqjLrbM /Zb/7W5Jwq9Mh/zAyoMPSI3P2dY8HUNHY6aNaYc6EPCLnOcExKFCp4w29p6UTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727672897; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ObqINiN7nGokQNMlnmkSiWpXYTBYyd7QF446CaKBxOk=; b=a+fdozpJwTqNDoGo1EX7yf0+iN6aWDPqvdRPovrdafGrkXYt8gKuYc+sZewT8jPgrZL0I6 xMOyZAyx68WG0VPyeHU1Vfqz8Zb6Pvw0mOBUNrLU2CwwbOmAe/B7m+EI4Sx28C8mCQhNj3 XefJTFMX9L2t1as7ogtRUmeUIV6UlHGH5X7p8VXdu5r9pTHSC7hHSNEwGH5mjIEG7jrg4J cokdz3kuhNoW8lQzEMEIHFFjYzCY0GbWt0GUDZEnDTDcjtkWgZKGmZAwfyfxZtDRea2qtb hJg0zgBtIylW6nlR0+q14hhepo5eZLS5ZD+oeL83R7G1FkrXmeDv4H+ERMYKug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727672897; a=rsa-sha256; cv=none; b=luth1LfKWMaGXPdlky8+Mu4ihFLoLWgeZxPdHaSKLVHwD17bQvywWpIpZo6ggyUiQmgPjG LUcyJFuZudkKu7O33E1R0HS4hqMk4AhLxn4qsBFsKSFVJP3zg1T/AZuoi1+hQF4MFOBXDu px+gAdyCAqwMKghrcU4RiG9N1qGRHkrEEcx1AF5cD/LCDEzwxwVTIxwtna9Nko4L2Wp2pd yCHqzhkQTc5S7hlEUnTirIRmZWx2e00VD1hEy0s+DF7/0PGkgFsKXwHc3ylTHq9vnrfZ+6 1BoOsmoB/ZjAyAMCRgS5oKShNOq/NYszZRnPgMLieYDSS5g31LNWRf/CNcx8BQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XH8Gn00vCzfx6; Mon, 30 Sep 2024 05:08:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48U58GlF024768; Mon, 30 Sep 2024 05:08:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48U58Gat024765; Mon, 30 Sep 2024 05:08:16 GMT (envelope-from git) Date: Mon, 30 Sep 2024 05:08:16 GMT Message-Id: <202409300508.48U58Gat024765@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: 55e34ff3a4bb - stable/13 - axgbe: Stop checking for failures from malloc(M_WAITOK) List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zlei X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 55e34ff3a4bb2e7f32116e494805dabe15104f72 Auto-Submitted: auto-generated The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=55e34ff3a4bb2e7f32116e494805dabe15104f72 commit 55e34ff3a4bb2e7f32116e494805dabe15104f72 Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:25 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-30 05:05:33 +0000 axgbe: Stop checking for failures from malloc(M_WAITOK) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45852 (cherry picked from commit ab0b996bddd96300d56b7d2aa830e2479cdfa92b) (cherry picked from commit 3db5be68216957067ebaa9c57a70f3dde45887eb) --- sys/dev/axgbe/xgbe-phy-v2.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/axgbe/xgbe-phy-v2.c b/sys/dev/axgbe/xgbe-phy-v2.c index 1fd01dc36f41..0ab517f99572 100644 --- a/sys/dev/axgbe/xgbe-phy-v2.c +++ b/sys/dev/axgbe/xgbe-phy-v2.c @@ -3482,8 +3482,6 @@ xgbe_phy_init(struct xgbe_prv_data *pdata) return (ret); phy_data = malloc(sizeof(*phy_data), M_AXGBE, M_WAITOK | M_ZERO); - if (!phy_data) - return (-ENOMEM); pdata->phy_data = phy_data; phy_data->port_mode = XP_GET_BITS(pdata->pp0, XP_PROP_0, PORT_MODE);