Received: by mail.netbsd.org (Postfix, from userid 605) id B0D4584E99; Mon, 14 Feb 2022 09:25:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id DD9DF84EA8 for ; Mon, 14 Feb 2022 09:25:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id m5-MnGlsjNVV for ; Mon, 14 Feb 2022 09:25:39 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 7C4C184D53 for ; Mon, 14 Feb 2022 09:25:39 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 75575FB24; Mon, 14 Feb 2022 09:25:39 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 14 Feb 2022 09:25:39 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/sys/external/bsd/drm2/dist/drm/ttm To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20220214092539.75575FB24@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Taylor R Campbell" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: riastradh Date: Mon Feb 14 09:25:39 UTC 2022 Modified Files: src/sys/external/bsd/drm2/dist/drm/ttm: ttm_bo.c Log Message: drm/ttm: Avoid uninitialized mem in error branch. Not sure why this error branch is getting hit, but let's not make the problem worse by choking on stack garbage. Candidate fix for symptom of PR kern/56565, PR kern/56711. Underlying problem -- that ttm_bo_mem_space fails with ENOMEM -- remains. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/external/bsd/drm2/dist/drm/ttm/ttm_bo.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.