From nobody Mon Sep 30 05:08:11 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 4XH8Gg4mRRz5XlLR; Mon, 30 Sep 2024 05:08:11 +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 4XH8Gg2HrVz4Wkm; Mon, 30 Sep 2024 05:08:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727672891; 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=Rpr7lswjwq48ly8LfBQPvwz3SYiAgEPTVYUX4vgjIfY=; b=cumLl9B6lqV8oM0q7WsEObyQbyVuTT8ZYMrLsfhoOHwfAWPV/bevXGtWqBegkqY83kej42 81V96rSlnnMsewJKg6duSCHOfvJ8h6A0jAO3b+s58KXJYpO4CpwifOngexSJnxC8lkHjfK 5SBzt8NjWhFlfWA0dac0B4/NFMWt3rkLqpy8Qu9Ip80Gb61Peu2USYmUk1QE+naAVglHpC AscQyTObJhNVRNKjv1RHoDRMiPHmbLgeJ5yp+LxC0Wn37/H681Owi3XvTBPv3JlJbIs291 FJZxTZz1jT7RbYfhrlf4hYSuS6oPzp3XzodsgjJwDdyQ5ul5PCwuvz8YJ4GeMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727672891; 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=Rpr7lswjwq48ly8LfBQPvwz3SYiAgEPTVYUX4vgjIfY=; b=w7sqRluyINkiZZxqDtfdq/mso89xpfVvL/6E5oA7OJp1sL+Ophf5Ks6NY+KT/SMTp74gNv 1OJ8sZDsv/3DK/8KpWOsxJy1a+/5S4xiu/zUtyZRJFM9NUf4LuztspHLpCyZTa+Cntfwd9 PLZUCh/yHN7ed12Xfg4OKNnECIcVdgu5XQL6HrzB4MDLpfGxOpGWi9vzTKbSQTJHsbHuK4 5DE/bNVE4q2sHbw4J08qgX5BfA1nNSwTF3oYOWwD1Qd7Q4ArJ2KLP2L03QQYQ+Ia+uOfZk ZpD6vo/0tqgyWEQS0PooiovtBp4xAFKcegA4gkCcgFoIPQAcX3okhUEO1Jrevg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727672891; a=rsa-sha256; cv=none; b=n/XR8v2yd5qLlgcYyMKqz91UDcAhOl0AYm5xwUoJn3csWKaM7TWTvVZnnNLhJZmUUATL8u 5jbwlIHpRkWaWrp6BUfl6DISVRXyO+zgHRTXOtq8fc6ek3YuFk2wWcfm1D+TfWcB3TZn6k cc2MRZA4g13Yko6GMD/F1YYCSFhqz/zIYsLXqYDwM5OCpLDb54Gp+vNdUT+//CVZaLzV4v yZFXwICda3GJllC05w3J+AeDDj3A31RyUAK0F33zZwbpyNCCS6scvhbPZzguPEbxRiELdN W7XYqHWL5sxIkNoApNbxhHCFThYSY6zfkheOE4/5XGu1HjyAM0jyz3bs2VC3iw== 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 4XH8Gg1wCSzg85; Mon, 30 Sep 2024 05:08:11 +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 48U58BtV024512; Mon, 30 Sep 2024 05:08:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48U58BGL024509; Mon, 30 Sep 2024 05:08:11 GMT (envelope-from git) Date: Mon, 30 Sep 2024 05:08:11 GMT Message-Id: <202409300508.48U58BGL024509@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: 53922b3c2669 - stable/13 - arm ti: 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: 53922b3c2669f42f1f030615bbdf5e4e8b00f93f Auto-Submitted: auto-generated The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=53922b3c2669f42f1f030615bbdf5e4e8b00f93f commit 53922b3c2669f42f1f030615bbdf5e4e8b00f93f Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:22 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-30 05:05:32 +0000 arm ti: Stop checking for failures from malloc(M_WAITOK) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45852 (cherry picked from commit fe6985ef87e1aedf8e5c9b3b959c7dd54a03e2fe) (cherry picked from commit 920288c32900da48136eafc41aa6d020552e36e5) --- sys/arm/ti/ti_pruss.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/arm/ti/ti_pruss.c b/sys/arm/ti/ti_pruss.c index 82fbb0d7ace3..9e0c805478ba 100644 --- a/sys/arm/ti/ti_pruss.c +++ b/sys/arm/ti/ti_pruss.c @@ -186,9 +186,6 @@ ti_pruss_irq_open(struct cdev *dev, int oflags, int devtype, struct thread *td) sc = dev->si_drv1; irqs = malloc(sizeof(struct ctl), M_DEVBUF, M_WAITOK); - if (!irqs) - return (ENOMEM); - irqs->cnt = sc->tstamps.ctl.cnt; irqs->idx = sc->tstamps.ctl.idx;