From nobody Mon Sep 30 04:45:19 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 4XH7mH48Fjz5XjxG; Mon, 30 Sep 2024 04:45:19 +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 4XH7mH1qGhz4DtV; Mon, 30 Sep 2024 04:45:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727671519; 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=OQtfHmwQjGXmbcnjINCzFaVXy1L2jjSFqVGExZcjQas=; b=OTnWf8tLfrui59a/zaiaECGzZLn/0mHTvCSH76MzFMyGRBjsUcWUGHFO/bx57bRf3XlM+g IJvqtzxrqwhjIeZ3AZZaS/wtL+EBh0oPPhF/DxuI+OywAzPGxKWn6SXL8aolvyIHCOLAoT aTMObKkV5o6liwvA/TZCNIsFhKj0MwpPPJhFxb9qP022pDnhBZpIpibcv7Kq2+8Hy74xRx CUFclFyRF39k9vX0Rxx6U7Q++IJwmD/V87hbmWHDVRFh3GYAclEqIy8lz9SaGIVCqy0Gso +mT9S2vcxFOZZLsLH//0C1A0PtXEHPp7ptfZsW9N2seC8sBuTxth3Be7Bd+4jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727671519; 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=OQtfHmwQjGXmbcnjINCzFaVXy1L2jjSFqVGExZcjQas=; b=VV62QCTbdnTHDRQivBCd2j/bxcxnjWv4C/ovmBi78zhosDU9LI4AwmG97lRsaxDRWRjDLM f9y+5vRfP8zlZUpZflU79soa4mUsbNgklJdC/NjRsTc+4h9S0YckofFQXpIfTjlK1n7MHI FlBj/RGqJpsE4UOkUlRrtNhnu22iFinLwBbaFIZ91NX4In/q3w3ukue1NJHuTz/NcVY/ye hlbG+nWJkwiUOYnkZfmZ1ouD9+Ai9T/kakoGPFd3lirln4a5Tv0c2bxv2oWW4yDVu4tDqO hmDPAL0NCl04CYHLdfNso2Uzg2eUw2WSYtrLPeNB1woiNI3EjMFGFEd+BYIWng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727671519; a=rsa-sha256; cv=none; b=fenQajGB9eedycAjiodAb7gP00xlE1PX+RWhSpZlL4BYxVodX1Zy+r7RKxVnTlqQzp8pt6 cJjC4zmtb+w/tI71I4WtlgiefxQ+cCwvPIs4JguOnUrq/sIOkkHafrOu3/DlJIGHyL5jg2 r10TGwVfoHSzPpgarN0V/k7vOnM6FOJT5i/CRlA9gOcjoBYVWkM8SynbusVSjW7rfH4gVK TWE5J+z3E70swoj98WyGS5z4r57tprCYvoZ+ek6Vg3lL1vqliyQxR8CX/wR5TuVx+inzld Jc39zl0kxUkNwFbAFoJeTZknmRfnbjDyjI1/iE9qnTsaMQ5GPcCkgCLxdxbVrw== 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 4XH7mH1HsNzf2D; Mon, 30 Sep 2024 04:45:19 +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 48U4jJTv086677; Mon, 30 Sep 2024 04:45:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48U4jJ4U086674; Mon, 30 Sep 2024 04:45:19 GMT (envelope-from git) Date: Mon, 30 Sep 2024 04:45:19 GMT Message-Id: <202409300445.48U4jJ4U086674@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: 920288c32900 - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: 920288c32900da48136eafc41aa6d020552e36e5 Auto-Submitted: auto-generated The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=920288c32900da48136eafc41aa6d020552e36e5 commit 920288c32900da48136eafc41aa6d020552e36e5 Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:22 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-30 04:44:18 +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) --- 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 378c892c95ec..b6895a8a9cef 100644 --- a/sys/arm/ti/ti_pruss.c +++ b/sys/arm/ti/ti_pruss.c @@ -184,9 +184,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;