From nobody Mon Sep 30 04:45:26 2024 X-Original-To: dev-commits-src-all@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 4XH7mQ4rpmz5Xk2g; Mon, 30 Sep 2024 04:45:26 +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 4XH7mQ2Jbfz4F89; Mon, 30 Sep 2024 04:45:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727671526; 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=FYKKd5tQYZPHJCOT7XwV086IPG3LYXeyRwipKtwApEk=; b=rG3M5ICFmlLNcF0S6Dtv+N4J2tlaBzzpArpW3KygGs2vLHcslz4HCj50YOMPyzJKKOfC6K M52mDTlksWNgN/exzxxdXdWwHgpDInrwOnoisFwupPdnqlMnGrBwH46rf1iTldGOqT2kx5 +lMK4MYIWgtePhnF3MlmaxDXpOFNJdqC37afUYOojOZu0283O+6Va2xMa/pHWwBn5YZPTi tOs2lGXXAZPHygRFotDlmzzPBXBKW86RdckKlOGJ8esQLOUoLMHx2D7mvcPPrNEMQM6TPN 42RjFLoD6mHdT4DVeQZ0AzwrSkM8JHNrI9F23Hbi2Vd+N/klRkoK6A+mnVRTxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727671526; 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=FYKKd5tQYZPHJCOT7XwV086IPG3LYXeyRwipKtwApEk=; b=icrQlm4uawMt8JoaWTEffzHvjmf7211352YPwRv4dGmGNKVfaEbTFzt51NQ+soZoUYuu+g CkvA+GU/mC1GdHS6sMFhP/JWAHDSF8qlnO7jECPoa0Xb3yR7ou2vsaLcEhQxJWIfu0BpIw zcljiToJfzcptn6BDoMhJjDv3cJnea8a3Oa9b8Ns7DBCeast38F/6nxVsVzSsSdKqj6PIi 6B8bi4j++/O1tLTDXpz9AvnWRLtpfMTyMueYS0qJdVZ9om3sqaDRx8ExPOC/4iPSwtNxDp TJKcIWIjPVTV3LoIh6FK68z3u2WWEdfdiz4Hl5xA+9b1pC36wfZufsyBt36aCg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727671526; a=rsa-sha256; cv=none; b=reUaiLVBFkaS6p200Y4YRMQWjYAn0jCqKt6tOA6OZwgQa0mJhIkBKKn8/NKEnq+5+zotrg cfU5SwaDoX8GBVTtbQqzkR/1ixqqYXhthRoz0J0tbr2mxIUqAZ1Yq+2M2usSzpNn9Id7Gm aUs4wJ2nRuN7aI8WkvdJhw0OHRlvMvGfb4j1yAIc0MC2reDc3cEIcPAw3m6WTUu+8O4hqd aUYCowM7yCijnIwtKXZeOZZixMRma+NdgTEbM0lIgUM72Db14gWZuwhCNzhKmd/3Iim9x9 f1Mf/eATnzO8QuIVUbxAdmVlV9vz+bVMSRem7aompSb23RxJMU6JlX3wOxzHaQ== 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 4XH7mQ19LszdwK; Mon, 30 Sep 2024 04:45:26 +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 48U4jQIh086974; Mon, 30 Sep 2024 04:45:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48U4jQW4086971; Mon, 30 Sep 2024 04:45:26 GMT (envelope-from git) Date: Mon, 30 Sep 2024 04:45:26 GMT Message-Id: <202409300445.48U4jQW4086971@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: 3db5be682169 - stable/14 - axgbe: Stop checking for failures from malloc(M_WAITOK) List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/14 X-Git-Reftype: branch X-Git-Commit: 3db5be68216957067ebaa9c57a70f3dde45887eb Auto-Submitted: auto-generated The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=3db5be68216957067ebaa9c57a70f3dde45887eb commit 3db5be68216957067ebaa9c57a70f3dde45887eb Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:25 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-30 04:44:20 +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) --- 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 b7d27f633265..46e4bf8c9ee6 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);