From nobody Mon Sep 30 05:08:38 2024 X-Original-To: dev-commits-src-branches@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 4XH8HC3dmxz5XlgB; Mon, 30 Sep 2024 05:08:39 +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 4XH8HC0gbzz4Xm5; Mon, 30 Sep 2024 05:08:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727672919; 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=3WOwSZjnFBF67YWEzTOsg+11v3iXItzvcQE/Gk9FUus=; b=PwKCsTr6UVwqVeL4LxwU5PQUFBEC5yLpjn+IQw/2rYM6Xeq9dfXeFlIOkSlfzts7mp5Mh0 nF13jwnKcyjZnqrZcrV3qdeJ3t4qYR8J5/V9rHkAzDtoLi1n20mqD66Kxts0CmZf2TIiho U6i0LH9pZB4QqsA5wd2bV3FIcm7NFdYYfFcu17INwptEW/HsqxOalXYjIxYZFq/iu0Vcws L0ADd7OGchsTQccwugOVL7zVFgjsXV867vs+YAv4US0c9hnYcB3rHnWy/r72u/Ujp0+iOX 8/5O/HYD8iubvsk7ZLuqaxCLuGYN9DM5NHrFSzGfk9P2iUXa2B7YufEqNS7Aig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727672919; 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=3WOwSZjnFBF67YWEzTOsg+11v3iXItzvcQE/Gk9FUus=; b=PH45vkamkWEzNS0MqcKUgO+AzdUypzVh9NHbGq1NU545nfjsmU4vibiBbLqDrinCS53EPc EZeeia/4ignzB1nm+YNwRosRbCt3Pj20a233R4n7HCLZABnkEudN6CCeS26SW3PxUaPcy1 NkC4mnXzsz5ZVecrNRA1MfC7dGl42cdQYai3Zpyb1jUqvn0eI0SVrDH8iQ9b/h1sO857Er ZwgdXnTZNBM6Kn5piS5VWmhmFPuM1mfCB3y0OqbR73TM1goxdl9KbXSbnD5Indqs3I56IK Ag0F0nEqf+FzuK/BDGZipSMK7sAft2aRAP4Tj6KeH+l73e2ZPd1yOXZwa/fu9Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727672919; a=rsa-sha256; cv=none; b=ILxCYKARnnz9grJmz7RO8pAuLJeJqzMq2DjoTHKPaSh0PiIKV0kIaxpJnuyA6I8Ep3xc+h x/NNEpekBl+2mhisJMr0RCIaoXDCU+jgyUXBnqKljfA0jNbqgL9kyjSyMYJGrCzEq1Ln8X F1z8Nab6A2DqZIGENpAFyz5LdHcEt74JQbbOCYJ7ruSNRIFrPutMmt1vQJwzu/vmoFnspS xbCyQPj3CaPnoeS5zW1HbDXOvIGBEX93fJOBBZuRWphRf9eELRjJ62RIyPREDvd45bx6S1 wcn7fgKhsNVJH5Vf8qpqNPzf7DdVJgUP3Qpb6NBA9htaRqhHSDVK7J1xL+Th4A== 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 4XH8HC0HrrzgGW; Mon, 30 Sep 2024 05:08:39 +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 48U58c6t025718; Mon, 30 Sep 2024 05:08:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48U58ceX025715; Mon, 30 Sep 2024 05:08:38 GMT (envelope-from git) Date: Mon, 30 Sep 2024 05:08:38 GMT Message-Id: <202409300508.48U58ceX025715@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: c55da1eaf79e - stable/13 - vchiq(4): Stop checking for failures from malloc(M_WAITOK) List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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: c55da1eaf79e977ca95dc58ab6cf90908ae969e6 Auto-Submitted: auto-generated The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=c55da1eaf79e977ca95dc58ab6cf90908ae969e6 commit c55da1eaf79e977ca95dc58ab6cf90908ae969e6 Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:34 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-30 05:05:39 +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) (cherry picked from commit 40015f1c11ee2321485d0dd83cc2edb92236a541) --- 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)