From nobody Mon Sep 30 05:08:37 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 4XH8HB2mWKz5Xlrx; Mon, 30 Sep 2024 05:08:38 +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 4XH8HB0qqGz4XrT; Mon, 30 Sep 2024 05:08:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727672918; 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=YbtBbIYIeG9I7flMk6iJtYaKAa6KbxCj+FfFlNXjJuo=; b=dNAfuvpkQ/ieRLAW1g/Ou+nFK9uDORXEJkMTjIVeVNvO7rIMJE7FpCaBjSKD0TjynOJM13 Jg3GF0s6MYBdVnI+Sfv8UXQuPuSm4QM4XGtF/2Lv7pMJjV/iGUiEyFK9/b7t+wRQF0cEZg HQkV2F4ufoGt8inXnJqHxaaU8FeWszZ/PT6soTAXECIZMnGvdvvpnWxE4Fbyj2ArvoxbfZ rpOEv7Oc2bLo1s9odORoTmpiVcozgcdscvNqDxfjyIT5FqDnw8lp+xBsokf/RHDwe8EZaf NnwsXKIEiyx55kXV/cnq5J1l/79cFxcMJEGZaB5nZTzeSCLJYeSbztcW4b9pEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727672918; 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=YbtBbIYIeG9I7flMk6iJtYaKAa6KbxCj+FfFlNXjJuo=; b=veJIklsb3U+Z9GYEDCi0OsHq0sXhANOTJErRxF6SpSkKAKppVXkQ/8nU3D3juWv9rfqTFT +CaME2HGFsuheRWaewmsd4mC6D+JABamdIxJ7rYV1QN7nTkSERrtUrib8TGqplk1gVfDnb 8D+mIQiTeFn2lNb5j57XdtAgXW1hNKO2VRd6HTGOY0A1iVzz6acxcB389qsqkeB0kh0tt2 92ZXjOHveQ5uCIINEnuvQO5bClscLfXZMhFpPAVs0TMeRTI9PTS4IwxR6o9+reOQhK0Hw3 6GBJrv7qfu1iXOmJtcyU6BFFkTPbpXEbwLGpL2L/UxuFRhRt+tJGzNrTRpPQtA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727672918; a=rsa-sha256; cv=none; b=hVU1V4gWe1DY2IS0hUoagdZPLyJZLlHHlYRL0UuXEqMThWAxNMtv0d2og/CPtnWteyBGmG IdPq9j7pKj0tpn77sh8R1xNm78DKHr9wCfdUhA6+l0ThVSPZh6bJfJAe8rxonu3AV6H3/E qwUvvyz9vdAm0N/lzgdB+PNp1CHizddJEQkCeWdo3RWpzl50E0qEF6vthHXPH2ZshhwkJd dqSNDFiLAcTIJPOPSsx1ePGNQ4yyy9rsesq4kW29OaOwWzyndWc+3PsqFu8vbBHwQ0bPGC 9nXm/hZg9nh+5QE4SHPmhJBBmNk48jkYA9PCyWresrDm52haP3lod/4tc3fqeA== 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 4XH8H96J9Wzfyy; Mon, 30 Sep 2024 05:08:37 +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 48U58bFe025664; Mon, 30 Sep 2024 05:08:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48U58b8R025661; Mon, 30 Sep 2024 05:08:37 GMT (envelope-from git) Date: Mon, 30 Sep 2024 05:08:37 GMT Message-Id: <202409300508.48U58b8R025661@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: eded71c830ee - stable/13 - sdhci(4): 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/13 X-Git-Reftype: branch X-Git-Commit: eded71c830ee9cb85dee897418e47e2828116eb1 Auto-Submitted: auto-generated The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=eded71c830ee9cb85dee897418e47e2828116eb1 commit eded71c830ee9cb85dee897418e47e2828116eb1 Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:34 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-30 05:05:39 +0000 sdhci(4): Stop checking for failures from malloc(M_WAITOK) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45852 (cherry picked from commit f80483cdd58a032ae2cfb2b9119824e9badc2c91) (cherry picked from commit 5a7db2ff56f9e08579913ae16850ff82617001dc) --- sys/dev/sdhci/sdhci_xenon_acpi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/sdhci/sdhci_xenon_acpi.c b/sys/dev/sdhci/sdhci_xenon_acpi.c index 8699b26cff68..f130f03fc572 100644 --- a/sys/dev/sdhci/sdhci_xenon_acpi.c +++ b/sys/dev/sdhci/sdhci_xenon_acpi.c @@ -88,8 +88,6 @@ sdhci_xenon_acpi_attach(device_t dev) memset(&mmc_helper, 0, sizeof(mmc_helper)); slot = malloc(sizeof(*slot), M_DEVBUF, M_ZERO | M_WAITOK); - if (!slot) - return (ENOMEM); /* * Don't use regularators.