Received: by mail.netbsd.org (Postfix, from userid 605) id 631FE14A1EB; Mon, 2 Mar 2015 17:30:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 603EF14A1E6 for ; Mon, 2 Mar 2015 17:30:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id wq58YHtufKPr for ; Mon, 2 Mar 2015 17:30:18 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id ED3F914A1DC for ; Mon, 2 Mar 2015 17:30:17 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id D7D1798; Mon, 2 Mar 2015 17:30:17 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 2 Mar 2015 17:30:17 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/sys/external/bsd/drm2/dist/drm/i915 To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20150302173017.D7D1798@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Taylor R Campbell" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: riastradh Date: Mon Mar 2 17:30:17 UTC 2015 Modified Files: src/sys/external/bsd/drm2/dist/drm/i915: i915_gem.c Log Message: Make sure wedged actually gets set on all code paths. Otherwise GCC helpfully realizes we're invoking undefined behaviour and optimizes away the possibility that this routine will return success, without saying a word about it. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.