From nobody Tue Sep 03 10:27:32 2024 X-Original-To: dev-commits-src-main@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 4Wyhdc4bbFz5MkSN; Tue, 03 Sep 2024 10:27:32 +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 4Wyhdc1v75z4tC2; Tue, 3 Sep 2024 10:27:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725359252; 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=yiShXwFClzYpxq+4VNFKVqBq/kUC9qqSm2ICnt3SNQU=; b=Y0ySTZ0tCkLxV5ObT1qShmaxBrlOeN3DhsAp1ijsVT1oUXc1sp+U3vdisy3ZhkVZDh/5JO mT17cSX2WKkfns4DgC6/2xVuA0091VS5KJfWozyWzRQqEaNQ4cQOvi/S/Ko3l69vrNJoyh hTb1gsl7u3qiTJLu8lELHGg4/xtwNjKRy5b64Hu5sQy9hRQQk7kZmXlQCXMS9Uqo4+NjSn HekAN1U7ZBdvsfvk/zEshmr1k19D3dLNFEJzoH+rTvNEYz9RNuO1YS8LYhtzGJ37htcqLP mGa75eyx6j4yYoMIc/gs4YuvIxseQOGtQVShZPTtzWDWSvkZUqPaJB/wv0z9xA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725359252; a=rsa-sha256; cv=none; b=MWIyP2hyDwebuEq5Zb0yr1UrNIB52CmDr2s5/dYp3epfLeyDGD6yKTXU89Uwp7vSFSXIXc 8bjWkCf1AdqS+868peXP+dU0Gwj1dc8laftW3MyECWyY8DAetLu+JZCduWYRBnhvHinyeo 6NqnZWuQ2BjM3c0hwT/X0YIVAMhseQhIX7YMS63n2tsFJTKHoprpUnkybnYtTi26t1XWgh BNtd8KkTPjiFjibyB2vCT2iHbEbVX0UOn68cTfa+q46aTRdFlQQtaPFGx72Zk15pjI9NBL YkhCwIGT7UfkknFFeTFByd84P8+3DWTh5a5YZ6bG6mOySRP+4FY5a0gB7xo38A== 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=1725359252; 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=yiShXwFClzYpxq+4VNFKVqBq/kUC9qqSm2ICnt3SNQU=; b=p6KlMlKwEGjEzU9/I02aOUHnS3loG++ZroQXPoUkE+t1L+1lwTfycWrMN0UMhXRacXVTDM SzPBpD9x9jvSTCPRfgyNs+gh7TMQmUYMfFoBt7UkWe8lpCaivSTlI3kGnV2Ne+uO0kU0/Y df4/bT/i/yko87iZCTpdUTxy2sffB3bjkTULmqRwnRNDy11wB5dRmfytvvbT3Z35lyE53N Bapd8OfTVvxXCNviqJ4+hfIuZi1lvg9dz3OGbYnf+NQkvWbxZJpfoM+8q/roJsrLqX/Z5N D8Gx8v5eYBS7WHlHxdjVE2DewnrzFOjWLUTLa4CbCbatylK06UU59/eLMkcu5w== 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 4Wyhdc1W6LzcVT; Tue, 3 Sep 2024 10:27:32 +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 483ARWIc010908; Tue, 3 Sep 2024 10:27:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 483ARWFP010905; Tue, 3 Sep 2024 10:27:32 GMT (envelope-from git) Date: Tue, 3 Sep 2024 10:27:32 GMT Message-Id: <202409031027.483ARWFP010905@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: 778ea7ed5a23 - main - vchiq(4): Stop checking for failures from malloc(M_WAITOK) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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: 778ea7ed5a23db9c4f9d8dc43a5cea26ded6231c Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=778ea7ed5a23db9c4f9d8dc43a5cea26ded6231c commit 778ea7ed5a23db9c4f9d8dc43a5cea26ded6231c Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:34 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-03 10:25:34 +0000 vchiq(4): Stop checking for failures from malloc(M_WAITOK) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45852 --- 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)