From nobody Mon Sep 30 04:45:53 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 4XH7mx4Y1lz5XkJY; Mon, 30 Sep 2024 04:45:53 +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 4XH7mx2yDxz4FtJ; Mon, 30 Sep 2024 04:45:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727671553; 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=lQAcaZhpfbIT9OMb8sYF+qTRpfomMCk0216dky2+Y2E=; b=YYvwk3zt3rOW1mIY3VhFbva0B0e+dN8hirhQPEAo/44jLaMCEUrqkzcfESHedDTez6b7s5 x/JG/MFEXkycsyPUOx+JRkvAjP4he5G7TILQ+7KMv1BkPRUzVRsRZZaC1lhdNLlwTeuzxY zEVxXzJWVnhZQUWVtJbzjAnoIg/JjbXN6r0U4cOhaUlIh477y6PEEQmkSb4JRyb6ykJXqf TtIET0gfVBxitL1XPuVfOdZh2sxyV55SsJr0q4a6sChc41hwc+W54VKuFduuZCIwOuBpBJ oOFkzger/f1BgH1T6JoflB4T74kea+Mm0Bj8dugwksoptPCE5YY5HCN4YoKCQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727671553; 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=lQAcaZhpfbIT9OMb8sYF+qTRpfomMCk0216dky2+Y2E=; b=kHs88X3qRz1htjgSJ/UhDiLtNiFIsWdaHBunolaPRbixTfLvkkKQGCux72nhIRdpcQvxpO jIMUDfGY6bG4vqDKciGWkI093cp6J5EMgrUhKdOBJV1gJlRYCfyFiv+yUj1lSFEs4LgUOR S9Wi0bTA9Eso3Jlx36cmvm0nnTqxitI2sJ6+FO7TggO44C+348lvZnmfJqHUa3BXBPYJ2k aMnKojba974TvczHdJKIU7+KldTv6/+Kf6hyGqCqe1ENaMx3GG2Yqs+YO/C1QwHLAPzuE7 nKywDDsKVqJ5yLkxAQ0v8US62JXnK4AFDHt5IbL6F8zcr1+sFFwLLAOsvqxY9Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727671553; a=rsa-sha256; cv=none; b=sT7ZaJaiXZqwD3jV66CkwELAUxr6BiIj41NBgkLARgO4uB+svqu3xgdAiK/9b/sfWjmFcT LTkNic6p/h88a4qXR18alCpv9KtVyebaZKgcfHt+zkhqqGLUwXMjAvF7h0QqoGNOKRAuik 56PSgkEe5LRvzYwJEzEGuuPxGtCJtLyT69D66q2W1uNGxQAwWOO5/PKB3ngr9V6eBYvBlm 66GgBXmq2KUSnJAGj+Toq5PEXZeR3JHa1yE89c/hq7yaPRyMm+P3CxRFHMC3bAU7HdnNoc w9yePvebZNgWLnZ7GGpNxZRXB1mnePcvrd8iT5z4qJUAd5mEWbq03XgjRip8gA== 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 4XH7mx2J4FzdwQ; Mon, 30 Sep 2024 04:45:53 +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 48U4jrtY088203; Mon, 30 Sep 2024 04:45:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48U4jrT3088200; Mon, 30 Sep 2024 04:45:53 GMT (envelope-from git) Date: Mon, 30 Sep 2024 04:45:53 GMT Message-Id: <202409300445.48U4jrT3088200@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: 40015f1c11ee - stable/14 - vchiq(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/14 X-Git-Reftype: branch X-Git-Commit: 40015f1c11ee2321485d0dd83cc2edb92236a541 Auto-Submitted: auto-generated The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=40015f1c11ee2321485d0dd83cc2edb92236a541 commit 40015f1c11ee2321485d0dd83cc2edb92236a541 Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:34 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-30 04:44:27 +0000 vchiq(4): Stop checking for failures from malloc(M_WAITOK) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45852 (cherry picked from commit 778ea7ed5a23db9c4f9d8dc43a5cea26ded6231c) --- sys/contrib/vchiq/interface/vchiq_arm/vchiq_2835_arm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/contrib/vchiq/interface/vchiq_arm/vchiq_2835_arm.c b/sys/contrib/vchiq/interface/vchiq_arm/vchiq_2835_arm.c index 279aacd0880a..ab8981e25cb2 100644 --- a/sys/contrib/vchiq/interface/vchiq_arm/vchiq_2835_arm.c +++ b/sys/contrib/vchiq/interface/vchiq_arm/vchiq_2835_arm.c @@ -278,8 +278,6 @@ vchiq_prepare_bulk_data(VCHIQ_BULK_T *bulk, VCHI_MEM_HANDLE_T memhandle, WARN_ON(memhandle != VCHI_MEM_HANDLE_INVALID); bi = malloc(sizeof(*bi), M_VCPAGELIST, M_WAITOK | M_ZERO); - if (bi == NULL) - return VCHIQ_ERROR; ret = create_pagelist((char __user *)offset, size, (dir == VCHIQ_BULK_RECEIVE)