From nobody Tue Sep 03 10:27:31 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 4Wyhdb4VX8z5Mkjb; Tue, 03 Sep 2024 10:27:31 +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 4Wyhdb1zx7z4tKw; Tue, 3 Sep 2024 10:27:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725359251; 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=/5PEn4sXzDlva9VUdImCIsYPcSVNjW4N5O6+KnWFHrg=; b=JS1/O8NLPbOjfvEGEJkUEaHwm3LiT7JpLK2VThaugBZPXP0SyQu0k8gft2wjV475gqY7la 2EUWep1Yz8k2DioSZq4Nhf7lW+gMbwuVXIZuMlac/0FfBafuRYGWTn/nobu2s+S3Jd8jY0 RHC7Rtr/6V6JtCcIOvoJOWccdWC6H/I5/5zlrvEcda50FJbjGpVfluSMllzb4fwtZWO821 4XdoM699iDeQeYOpVRI83x1D+uLDlZnngibIF8vLMmlASIfXFiuM/F+IxOG4bCF74IWKIs 8YVLEBbDgQfodVfHP61QcP4TRkJm8xf/SKMy4hCnYx9Ea1cTl5HGNJ5iB+Nu/A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725359251; a=rsa-sha256; cv=none; b=V+9SP5L6OKqbjwsOQgunaScDELN7Zgr2UlSH/8P1qW+ZqFobbLFtMaiRD+HNY2dt7YY6uX /W3XgW7Fhhjxn978ktmeePoXk9WtC/HckgaEP6YKK7GQECE7gKp/W78iNCJARQf9WfPHC3 JLngiPmBtJItvD/ieF9XheTymbnN63GCxtCJDKPIBFs1ElB5g2UvtSAYKLwXgvD4PjFKgl phxzE+PdBiMYv5EM0zwfJfCss8r3svq6/mUwZpKmwLfgoYejfihZcQhPYLUCfOy5/3tLrg LPPUAJiCK2LuvmyBsI4dgiMGJ8EIccQXk5euYvkiDq/gFxHcpVRTj+4Y+UbJCg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725359251; 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=/5PEn4sXzDlva9VUdImCIsYPcSVNjW4N5O6+KnWFHrg=; b=ZvSaNT6ZhOwly/1wXfMzu8TNjApFqR/Vxvj91ja2mGcSANQEu845abQh+UMpYd55/TzYhR lvb6WpbyQR5Wm7lajfKIH58cr3gMoQrqvhZl0iaGt1CCgI12kx/yk0mRzOqgP91GF4EUVJ OkSFyuGyVXEO8hn6oWHW4ah7GgH917ZByx2qMWuE2WBGopF2+8t3pfnPnv+gqapycxcb1L yU8g6Ny8X0mw8a9+yF0u+Hr02XqkobVKCZBp/OGHrYCx2ZTCxh/IBPIYqgEG0Z4ckpw5Ga vfzjk6TOJvG56tYygzCh704RNd+rL5SCvZY7cdywnFTD9AccaKYbXRXPrRGqnQ== 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 4Wyhdb13hhzcbF; Tue, 3 Sep 2024 10:27:31 +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 483ARVhS010860; Tue, 3 Sep 2024 10:27:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 483ARVf7010857; Tue, 3 Sep 2024 10:27:31 GMT (envelope-from git) Date: Tue, 3 Sep 2024 10:27:31 GMT Message-Id: <202409031027.483ARVf7010857@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Zhenlei Huang Subject: git: f80483cdd58a - main - 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/main X-Git-Reftype: branch X-Git-Commit: f80483cdd58a032ae2cfb2b9119824e9badc2c91 Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=f80483cdd58a032ae2cfb2b9119824e9badc2c91 commit f80483cdd58a032ae2cfb2b9119824e9badc2c91 Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:34 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-03 10:25:34 +0000 sdhci(4): Stop checking for failures from malloc(M_WAITOK) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45852 --- 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 01b6c14dc5f2..3e8b2c4a349c 100644 --- a/sys/dev/sdhci/sdhci_xenon_acpi.c +++ b/sys/dev/sdhci/sdhci_xenon_acpi.c @@ -86,8 +86,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.