From owner-cvs-all@FreeBSD.ORG Fri Jul 2 19:49:44 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29A5E16A4D0; Fri, 2 Jul 2004 19:49:44 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF6B643D2D; Fri, 2 Jul 2004 19:49:43 +0000 (GMT) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i62JHRc2038422; Fri, 2 Jul 2004 19:17:27 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i62JHR0o038421; Fri, 2 Jul 2004 19:17:27 GMT (envelope-from njl) Message-Id: <200407021917.i62JHR0o038421@repoman.freebsd.org> From: Nate Lawson Date: Fri, 2 Jul 2004 19:17:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/acpica acpi_ec.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2004 19:49:44 -0000 njl 2004-07-02 19:17:27 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_ec.c Log: Get rid of the strict aliasing error by retrieving the ECDT via a table header pointer and then casting it to the ecdt pointer. This fixes the -O2 build. I'm unsure what changed recently to reveal this error since this code has been unchanged for months. Revision Changes Path 1.57 +3 -2 src/sys/dev/acpica/acpi_ec.c