From nobody Tue Sep 03 10:26:44 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 4Wyhch5PZ2z5MkJS; Tue, 03 Sep 2024 10:26:44 +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 4Wyhch4kqhz4rrL; Tue, 3 Sep 2024 10:26:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725359204; 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=WzycGuoTX+NaoyQSW/ys9kO/J251hQi6BQMEUQjX+mg=; b=Ivayvj0Vn6VJ+5/WxB9HbBxXMWaF9YbEVm9chYq92KPQafw/+GzXNn7mRLMe/q3cXFUx3D CE9vW992knnqbZQ9SbB0/SlmfolItdKZ7nv95tAjMPlv7g0VB5HTeJPWvGGwI8xEaXuD/a I46tjSMqn+LF2nStEW+iHuDCTGYhjkMXAxKbDNgHGCpuHLeK4Qb4Qa/+z1Jldm1Pc126/S iNAXxihVqUSusiCLXPBu94jL0pl6FTwyxj8ef8zrubt2KXFmJ8lfxdldCTmodfCOQUMbjB pY8D7bu8PjKHqtULTt7hCV4CGwUh19k2EfxuEtpkIAA0U8N18i93wvAFPgaHuw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725359204; a=rsa-sha256; cv=none; b=mH37DcFsl3Ed8pT2EzagCIB7XQCOqM7BTjGAiZbrmTSscn2h1QwRWaCdsxALfViEy69pIe HEzHeqANo+WYvWPNpcTq7KIER9zedH0FXmiMbmVMD6hrmk1Am7gu0aimvFdKZl8dis2enn NT1DfyN5l+X+vtXkjYyD9ocBLX/IUQhLJ85LVJs6tlQukOnTvFsM7tjlzZVLQoijTgM8d+ S6GAL8tilkqdg1P9JcTQk+d5BzhKtW4hVrsIC9ei5t9L0nzhwutNmLfd8SEccCVK+Ka18Q sEGEYNP/BxWjGKNDqiu8UaK8A77cui9Boe3AqzC8UYxQ/f2XwIbVmUcAJKzldQ== 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=1725359204; 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=WzycGuoTX+NaoyQSW/ys9kO/J251hQi6BQMEUQjX+mg=; b=Y1ZWUuLTj2Xp/AhXO/c3/8NnPIUZnpssSH/mv9oks2COpgXZat9uoi5nDdYEz9xRSghsAw bMl01NYfTcD5aWLHsxAokFhNBCfNKuc4lSR4HgIFbO3R17MTfEFXC376gYgneLEuzvX5Ss fVSiU+dWsGkc/AxdiDnLwfQAxG4WNrROS1rCC5z+z6kEOArDRtCkV6T7TGupBPw6SgT3Gl iVZJtoyyJqBzxjhSZkKNrEvpgn7FZ46ITC1kME8u6sxwBeYoujuIKYHQAjGlWZ9z2oDyRz cm4eAb6KTWR/8+mmEblgDJvNjBIvdiZh2bTxymeMoVe9c6TmAZPwlp84ZZKS8g== 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 4Wyhch49DpzcnB; Tue, 3 Sep 2024 10:26:44 +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 483AQi2l008761; Tue, 3 Sep 2024 10:26:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 483AQiC5008758; Tue, 3 Sep 2024 10:26:44 GMT (envelope-from git) Date: Tue, 3 Sep 2024 10:26:44 GMT Message-Id: <202409031026.483AQiC5008758@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: f444db950e87 - main - boottrace: Stop checking for failures from realloc(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/main X-Git-Reftype: branch X-Git-Commit: f444db950e877596805aed897c3fbb975be28711 Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=f444db950e877596805aed897c3fbb975be28711 commit f444db950e877596805aed897c3fbb975be28711 Author: Zhenlei Huang AuthorDate: 2024-09-03 10:25:17 +0000 Commit: Zhenlei Huang CommitDate: 2024-09-03 10:25:17 +0000 boottrace: Stop checking for failures from realloc(M_WAITOK) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45852 --- sys/kern/kern_boottrace.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/kern/kern_boottrace.c b/sys/kern/kern_boottrace.c index 1b097e7378ad..5516f3160587 100644 --- a/sys/kern/kern_boottrace.c +++ b/sys/kern/kern_boottrace.c @@ -561,9 +561,6 @@ boottrace_resize(u_int newsize) } rt.table = realloc(rt.table, newsize * sizeof(struct bt_event), M_BOOTTRACE, M_WAITOK | M_ZERO); - if (rt.table == NULL) - return (ENOMEM); - rt.size = newsize; boottrace_reset("boottrace_resize"); return (0);