From owner-cvs-all@FreeBSD.ORG Sat Jul 24 17:51:23 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 073E216A4CE; Sat, 24 Jul 2004 17:51:23 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E26C343D2F; Sat, 24 Jul 2004 17:51:22 +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 i6OHpMOU099863; Sat, 24 Jul 2004 17:51:22 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i6OHpM2m099862; Sat, 24 Jul 2004 17:51:22 GMT (envelope-from njl) Message-Id: <200407241751.i6OHpM2m099862@repoman.freebsd.org> From: Nate Lawson Date: Sat, 24 Jul 2004 17:51:22 +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_video.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: Sat, 24 Jul 2004 17:51:23 -0000 njl 2004-07-24 17:51:22 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_video.c Log: Fix a bug where an item was being removed from a list without using FOREACH_SAFE. Remove bad cast of retp and instead use an additional arg to pass back the number of valid outputs. Use the package convenience functions for parsing packages. Revision Changes Path 1.7 +29 -34 src/sys/dev/acpica/acpi_video.c